一个非常完整的后台管理系统脚手架
- 使用vue-cli脚手架,vue2.0
- ui框架用的是element-ui,也是awesome-vue里推荐的
- api请求 基于axios,再自己封装了一层
- 路由使用vue-router;
- mock,proxy:基于express的自定义中间件mock + 基于http-proxy-middleware代理
- css: postcss-salad,可以很方便高效地写css
- 样式参考:https://github.com/taylorchen709/vue-admin
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# proxy: config/index.js proxyTable
npm run dev test
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
# run unit tests
npm run unit
# run e2e tests
npm run e2e
# run all tests
npm test
For detailed explanation on how things work, checkout the guide and docs for vue-loader.