A minimal Vue library starter, built on top of Vite & Vue 3
TOC
- Package manager pnpm, safe and fast
- Bundle with the library mode
- Release with semantic-release
- Publish to npm
create a repo from this template on GitHub
git clone https://github.com/xiaoluoboding/vue-library-starter
cd vue-library-starterBuilding it is as easy as 1, 2, 3.
pnpm installRename all the vue-library-starter to your component name in the file package.json、vite.config.ts, eg: my-component
pnpm run build:libnpm publish
MIT @xiaoluoboding