A simple Vue 2.0 Webpack &
vue-loader
setup utilizingvue-onsenui
&express
w/ Webpack Dev Middleware. This template is designed for quick prototyping and is not intended for production use.
This is a project template for vue-cli
$ npm install -g vue-cli
$ vue init pragma8123/onsen-express-webpack my-project
$ cd my-project
$ npm install
$ npm run dev
-
npm run dev
:vue-onsenui
+express
w/webpack-dev-middleware
&webpack-hot-middleware
-
npm run build
: build with HTML/CSS/JS minification -
npm run prod
: build with minification and run withNODE_ENV=production