lc-component-library
v2.0.1
Published
This repo provides a basic setup for developing component libraries in Vite with Vue 3 typescript and TailwindCss
Downloads
54
Keywords
Readme
Lc Component Library
This repo provides a basic setup for developing component libraries in Vite with Vue 3 typescript and TailwindCss
Features
- Create a component library using Vue3 Vite and typescript
- Tailwind CSS
- Automatically export and register all components in
./src/components
Components
- [x] LcAccordion
- [x] LcBadge
- [x] LcButton
- [x] LcCount
- [x] LcIcon
- [x] LcModal
- [x] LcPagination
- [x] LcTab
- [x] LcTable
- [x] LcTabs
- [x] LcTooltip
Commands
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
Publish on NPM
Generate build
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
Logged on NPM
$ npm login // Entrer your email + mdp
Publish on NPM
Push on NPM when the branch is merged on master :
$ npm publish