Awesome
webpack2-simple-vue2
A simple webpack2 template with vuets + vue/vue-router 2.1. Supports tree-shaking with es2015 modules
Usage
This is a project template for vue-cli.
$ npm install -g vue-cli
$ vue init vuets/webpack2-simple-vue2 my-project
$ cd my-project
$ npm install
$ npm run dev
What's Included
-
npm run dev
: Webpack +vue-loader
with proper config for source maps & hot-reload. -
npm run build
: build with CSS/JS minification using closure compiler.
For detailed explanation on how things work, consult the docs for vue-loader.