Vue.js plugin development template for Vue-CLI based on the webpack-simple template.
This is a project template for vue-cli.
$ npm install -g vue-cli
$ vue init mazipan/vuejs-template-plugin my-project
$ cd my-project
$ npm install
$ npm run dev
npm run dev
: Webpack +vue-loader
with proper config for source maps & hot-reload.npm run build
: build with vue includednpm run dist
: build plugin file with extract vue from bundlenpm run test
: runnung unit test with Jest
For detailed explanation on how things work, consult the docs for vue-loader. Also check out the breaking changes in [email protected].