0.0.18 • Published 2 years ago
k-vu3-lib v0.0.18
Vue3 + Vite + Storybook + Lerna Component Library Blueprint
k project
Install
Initialize the project as follows:
yarn bootstrap
Create New Package
yarn run new {packageName}
package files will be automatic generation
Build
Run the following to build all packages:
yarn run build
This runs a production build. In each package you will now find /dist
folder where package code is bundled.
StoryBook
Run the following to live preview all packages:
yarn run storybook
This runs storybook for preview & development.
Publish Packages
For patch release:
yarn lerna publish patch
For minor release:
yarn lerna publish minor
For major release:
yarn lerna publish major
package files will be automatic generation