本项目采用Vue,Vuex,Vue-Router技术栈,麻雀虽小,但是尽量尝试使用更多的技术。
从vue-cli开始,引入需要相关依赖,采用iview组件库,axios掉接口,mockjs拦截模拟数据.
基础架构已经搭好,可以愉快的敲代码了
# 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