This repo provides a basic setup for developing component libraries in Vite with Vue 3 typescript and TailwindCss
npm install lc-component-libraryThis repo provides a basic setup for developing component libraries in Vite with Vue 3 typescript and TailwindCss
- Create a component library using Vue3 Vite and typescript
- Tailwind CSS
- Automatically export and register all components in ./src/components
- [x] LcAccordion
- [x] LcBadge
- [x] LcButton
- [x] LcCount
- [x] LcIcon
- [x] LcModal
- [x] LcPagination
- [x] LcTab
- [x] LcTable
- [x] LcTabs
- [x] LcTooltip
``bash`
yarn dev # Will run the demos app so you can see your components
yarn build # Will build your components into a library and generate types
Upgrade version package :
- Patch releases: 1.0 or 1.0.x or ~1.0.4
- Minor releases: 1 or 1.x or ^1.0.4
- Major releases: \* or x
``
$ yarn build
`bash`
$ npm login // Entrer your email + mdp
Push on NPM when the branch is merged on master :
`bash``
$ npm publish