0.0.12 • Published 3 years ago
demo-vu3-lib-123 v0.0.12
Vue3 + Vite + Storybook + Lerna Component Library Blueprint
Demo project
Install
Initialize the project as follows:
yarn bootstrapCreate New Package
yarn run new {packageName}package files will be automatic generation
Build
Run the following to build all packages:
yarn run buildThis 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 storybookThis runs storybook for preview & development.
Publish Packages
For patch release:
yarn lerna publish patchFor minor release:
yarn lerna publish minorFor major release:
yarn lerna publish majorpackage files will be automatic generation