一个vue2学习demo。从前端工程的构建,开发,测试,到发布学到不少。本案例仅用于学习。
- [1] 本案例使用vue2+vue-router+webpack构建
- [2] 使用zui中的css来开发组件,减少自己去写样式
- [3] 参考了iview框架
test vue project
# 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.