Update README.md

This commit is contained in:
zhh 2018-11-23 16:25:09 +08:00
parent 964f66d5bc
commit 59b83084df

View File

@ -1,21 +1,33 @@
#
# mall-admin-web
> desc
## 前言
## Build Setup
`mall`项目后台管理系统的前端项目
[传送门](https://github.com/macrozheng/mall)。
``` bash
# install dependencies
npm install
## 项目介绍
# serve with hot reload at localhost:8080
npm run dev
`mall-admin-web`是一个电商后台管理系统的前端项目基于Vue+Element实现。
主要包括商品、订单、用户、促销、运营、内容、统计、财务、设置、权限等管理系统功能。
# build for production with minification
npm run build
## 项目演示
# build for production and view the bundle analyzer report
npm run build --report
```
![https://github.com/macrozheng/mall/blob/master/document/resource/mall-admin.gif](https://github.com/macrozheng/mall/blob/master/document/resource/mall-admin.gif)
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).
## 技术选型
技术 | 说明 | 官网
----|----|----
Vue | 前端框架 | [https://vuejs.org/](https://vuejs.org/)
Vue-router | 路由框架 | [https://router.vuejs.org/](https://router.vuejs.org/)
Vuex | 全局状态管理框架 | [https://vuex.vuejs.org/](https://vuex.vuejs.org/)
Element | 前端UI框架 | [https://element.eleme.io/](https://element.eleme.io/)
Axios | 前端HTTP框架 | [https://github.com/axios/axios](https://github.com/axios/axios)
v-charts | 基于Echarts的图表框架 | [https://v-charts.js.org/](https://v-charts.js.org/)
Js-cookie | cookie管理工具 | [https://github.com/js-cookie/js-cookie](https://github.com/js-cookie/js-cookie)
nprogress | 进度条控件 | [https://github.com/rstacruz/nprogress](https://github.com/rstacruz/nprogress)
## 搭建步骤
- 克隆源代码到本地使用IDEA打开并完成编译;
- 运行命令npm run dev,访问地址:[http://localhost:8090](http://localhost:8090) 即可打开后台管理系统页面;