My minimal Vue library starter, built on top of Vite & Vue 3
Go to file
2023-08-23 12:10:57 +08:00
.github feat: first commit 2023-08-23 12:10:29 +08:00
.vscode feat: first commit 2023-08-23 12:10:29 +08:00
packages feat: first commit 2023-08-23 12:10:29 +08:00
public feat: first commit 2023-08-23 12:10:29 +08:00
src feat: first commit 2023-08-23 12:10:29 +08:00
.gitignore feat: first commit 2023-08-23 12:10:29 +08:00
.prettierrc feat: first commit 2023-08-23 12:10:29 +08:00
CHANGELOG.md chore: release v0.0.1 2023-08-23 12:10:57 +08:00
components.d.ts feat: first commit 2023-08-23 12:10:29 +08:00
index.html feat: first commit 2023-08-23 12:10:29 +08:00
LICENSE Initial commit 2023-08-23 12:02:25 +08:00
package.json feat: first commit 2023-08-23 12:10:29 +08:00
pnpm-lock.yaml feat: first commit 2023-08-23 12:10:29 +08:00
README.md feat: first commit 2023-08-23 12:10:29 +08:00
tsconfig.json feat: first commit 2023-08-23 12:10:29 +08:00
tsconfig.node.json feat: first commit 2023-08-23 12:10:29 +08:00
unocss.config.ts feat: first commit 2023-08-23 12:10:29 +08:00
vite.config.ts feat: first commit 2023-08-23 12:10:29 +08:00

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