vue-js-boilerplate
v1.1.5
Published
Vue.js boilerplate include webpack 3, vue-router, vuex, HMR and docker support. Production ready
Downloads
14
Readme
vue-js-boilerplate
Vue.js boilerplate CLI include webpack 3, vue-router, vuex, HMR and docker support. Production ready
Steps to quick start
This CLI require modern node.js, npm and git installed.
Create or go to your project's directory
Run npm i -g vue-js-boilerplate
(global flag is required)
Run vue-bp-init
Then you can run npm install
and start developing
Build Setup
Serve with hot reload at localhost:8080 : npm run dev
Build for production with minification : npm run build
Tips
- Mark
src
directory as source in your IDE - Place all static files (images, fonts etc) in assets directory
- Make components as small as you can and collect them in page
- See how works router, component including and props passing, start from
router/index.js
file
Feel free to create new issues on gitlab!
2018-02-16