Yezza UI Components
Using this library
yarn add @yezza/ui-components
Add to main.js (all components)
import '@yezza/ui-components/dist/ui-components.css'
import UIComponent from '@yezza/ui-components'
Vue.use(UIComponent)
Add to main.js (single component)
import '@yezza/ui-components/dist/ui-components.css'
import { YPhoneInput } from '@yezza/ui-components'
Vue.component('y-phone-input', YPhoneInput)
Documentation: https://ui.yezza.xyz
For developer
How to create component
- Add component to src/components
- Add component object to src/components/index.js
Add component documentation
- Add tag <docs in component file
How to publish component
-
Update version in package.json
-
run commands:
yarn build-lib npm publish