@edwardorz/vue-plugin-template
v0.1.10
Published
A template for generating vue plugin use Vue CLI 3.
Downloads
6
Readme
vue-plugin-template
A template for generating vue plugin use Vue CLI 3.
使用 | Usage
vue init edwardorz/vue-plugin-template my-lovely-plugin
cd my-lovely-plugin
// dev
yarn serve
// build
yarn build
// build with report
yarn build:report
// generate docs
yarn docs
特性 | Features
- 使用
vue-cli-service build --target lib
进行编译 - 支持多种vue plugin形式: SFC/实例方法/全局属性、方法/directives/mixins
- generate docs
- less + pug
TODOS
- test 测试
- sass
- jsx
- Jekyll
Change Logs
- 2019-01-22 useBuiltIns设置成false来进一步压缩编译包的大小,具体请参考Vue-CLI #ISSUE199