Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fatihsinanyaman/vue3-component-library
Vue3 Component Library with Lerna, StoryBook & NPM
https://github.com/fatihsinanyaman/vue3-component-library
Last synced: about 1 month ago
JSON representation
Vue3 Component Library with Lerna, StoryBook & NPM
- Host: GitHub
- URL: https://github.com/fatihsinanyaman/vue3-component-library
- Owner: fatihsinanyaman
- Created: 2021-05-02T10:26:17.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-03T08:08:40.000Z (almost 3 years ago)
- Last Synced: 2024-05-09T05:18:48.533Z (8 months ago)
- Language: JavaScript
- Size: 1.06 MB
- Stars: 13
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vue3 + Vite + Storybook + Lerna Component Library Blueprint
Blueprint for large Vue JS projects, using the new and exciting [Vite](https://vitejs.dev) build tool and [Lerna](https://lerna.js.org) monorepo manager.# Live Demo
Packages storybook live demo: [https://squanch-vue3.netlify.app/](https://squanch-vue3.netlify.app/)
Packages NPM organization: [squanch-vue3](https://www.npmjs.com/search?q=squanch-vue3)## Install
Initialize the project as follows:git clone https://github.com/fatihsinanyaman/vue3-component-library.git
cd vue3-component-library
npm run initializeThis downloads the project into `vue3-component-library` folder, installs all dependencies, prepares Lerna monorepo and creates symlinks for internal dependencies. All is now ready for build.
## Create New Package
npm run new {packageName}
package files will be automatic generation
## Build
Run the following to build all packages:npm 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 livepreview all packages:npm run storybook
This runs storybook for preview & development.
## Publish Packages
Lerna will be publish automaticly all packages indipendent versions under the organization scope. For example: [squanch-vue3](https://www.npmjs.com/settings/squanch-vue3/packages)npm run publish
package files will be automatic generation
## License
MIT