/vue-demi-component-template

SFC template of vue-demi project, can dev & test & build 编写基于 vue-demi 单文件组件模板库

Primary LanguageTypeScriptMIT LicenseMIT

Vue-Demi + TS + Vite For SFC template

Vue.js component template for Vue 2 and 2.7 and 3.

English | 简体中文

Template Usage

To use this template, clone it down using:

npx degit ChuHoMan/vue-demi-component-template my-component

And do a global replace of vue-demi-component-template and VueDemiComponentTemplate with your component library name.

Setup

Make sure to install the dependencies:

# pnpm
pnpm install

Development Server

Start the development server

# Vue 2.6.x
pnpm run dev:2
# Vue 2.7.x
pnpm run dev:2.7
# Vue 3
pnpm run dev:3

Production

Build the library for production or publish:

# build all versions
pnpm run build

License

Made with 💙

Published under MIT License.