A Vue.js project
大致项目结构设计
-------------------
assets——公共文件
components——组件
less——通用样式
router——路由
utils——通用工具/方法
views——页面视图
vuex——数据共享源
-------------------
区分视图与组件
# 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 detailed explanation on how things work, checkout the guide and docs for vue-loader.