Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 522 Bytes

File metadata and controls

38 lines (25 loc) · 522 Bytes

Vite + Vue 2 / 3 + Vue-demi

create your vue2/3 components lib with full development feature support~

development

requires node v16 or higher.

npm i --legacy-peer-deps

npm run dev

test

# for vue 2
npm run test:v2

# for vue3
npm run test:v3

build

npm run build

# build preview
npm pack

# preview build for vue2
cd example/vue2 && npm i -S path/to/npm.pack.tgz && npm run dev

# preview build for vue3
cd example/vue3 && npm i -S path/to/npm.pack.tgz && npm run dev