port-library-ui
v0.0.1
Published
A minimal Vue library starter, built on top of Vite & Vue 3
Downloads
4
Readme
Vue Library Starter
A minimal Vue library starter, built on top of Vite & Vue 3
Table of Contents
Features
- Package manager pnpm, safe and fast
- Bundle with the library mode
- Release with semantic-release
- Publish to npm
Use the Template
GitHub Template
create a repo from this template on GitHub
Clone to local
git clone https://github.com/xiaoluoboding/vue-library-starter
cd vue-library-starter
Usage
Building it is as easy as 1, 2, 3.
1、Install dependencies
pnpm install
2、Build a library
Rename all the vue-library-starter
to your component name in the file package.json、vite.config.ts
, eg: my-component
pnpm run build:lib
3、Publish to npm
npm publish
License
MIT @xiaoluoboding