vue-library-starter/README.md
2023-08-23 12:10:29 +08:00

2.1 KiB

Vue Library Starter

NPM Minzip Package NPM Download

A minimal Vue library starter, built on top of Vite & Vue 3

Table of Contents

TOC

Features

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