- Learn how to build a killer vue.js blog with a full demo: custom plugin, templating, pagination, filtering, data decoupling, and more!
- See live demo hosted on Netlify https://vue-blog-demo.netlify.com/
- Read full tutorial on the blog https://snipcart.com/blog/vuejs-blog-demo
- Build Setup
- # install dependencies
- npm install
- # serve with hot reload at localhost:8080
- npm run dev
- # build for production with minification
- npm run build
- # build for production and view the bundle analyzer report
- npm run build --report
- For a detailed explanation on how things work, check out the guide http://vuejs-templates.github.io/webpack/ and docs for vue-loader http://vuejs.github.io/vue-loader .
来源: https://juejin.im/entry/5b7f866ff265da434a1fcc40