Package Exports
- @solfacil/components-ui
- @solfacil/components-ui/dist/solfacil.common.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@solfacil/components-ui) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Component library based on Vue and Tailwind
Documentation
For full documentation, visit Documentation.
Quick start
1 Install npm
npm install @solfacil/components-uior yarn
yarn add @solfacil/components-ui2 Import and use @solfacil/components-ui
import { Button, RadioButton, ToggleSwitch } from '@solfacil/components-ui';
export default {
components: {
Button,
RadioButton,
ToggleSwitch,
},
};3 Import style Sass
Include pattern based on style guide and tailwind styles
@import '~@solfacil/components-ui/src/assets/scss/core';Or all styles
@import '~@solfacil/components-ui/src/assets/scss/solfacil';Optional / style component
@import '~@solfacil/components-ui/src/assets/scss/buttons';
@import '~@solfacil/components-ui/src/assets/scss/radio-button';License 
Released under the MIT License. Copyright (c) Solfácil.