# 代理商前端 **Repository Path**: lingdan56/agent-frontend ## Basic Information - **Project Name**: 代理商前端 - **Description**: 代理商前端 - **Primary Language**: JavaScript - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 3 - **Created**: 2019-08-02 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README

代理商管理后台 V2.0.1

简体中文 | [English](./README.md) **注意:该项目使用 element-ui@2.0.0+ 版本,所以最低兼容 vue@2.5.0** ## 前序准备 你的本地环境需要安装 [node](http://nodejs.org/) 和 [git](https://git-scm.com/)。我们的技术栈基于 [ES2015+](http://es6.ruanyifeng.com/)、[vue](https://cn.vuejs.org/index.html)、[vuex](https://vuex.vuejs.org/zh-cn/)、[vue-router](https://router.vuejs.org/zh-cn/) and [element-ui](https://github.com/ElemeFE/element),所有的请求数据都使用[Mock.js](https://github.com/nuysoft/Mock)模拟,提前了解和学习这些知识会对使用本项目有很大的帮助。 **该项目不支持低版本浏览器(如ie),有需求请自行添加polyfill [详情](https://github.com/PanJiaChen/vue-element-admin/wiki#babel-polyfill)** ## 开发 ```bash # 克隆项目 git clone https://github.com/PanJiaChen/vue-element-admin.git # 安装依赖 npm install     # 建议不要用cnpm安装 会有各种诡异的bug 可以通过如下操作解决 npm 下载速度慢的问题 npm install --registry=https://registry.npm.taobao.org # 启动服务 npm run dev ``` 浏览器访问 http://localhost:9527 ## 发布 ```bash # 构建测试环境 npm run build:sit # 构建生成环境 npm run build:prod ``` ## 其它 ```bash # --report to build with bundle size analytics npm run build:prod --report # --preview to start a server in local to preview npm run build:prod --preview # lint code npm run lint # auto fix npm run lint -- --fix ``` ## 更新日志 ```bash 1、商户后台进件模块 2、商户模块提示语统一补全 3、代理商模块费率增加 ``` ## 包依赖包安装和升级命令 ```bash # install node_modules npm i vue-transition.css -S # update node_modules npm i element-ui@latest -S npm i axios@latest -S # uninstall 卸载依赖包 npm uninstall xlsx -S npm uninstall normalize.css -S ``` ## 2018-10-10 包更新日志 > 本次更新包括统一打包命令 ```bash # 老命令 npm run build:prod # 新命令 npm run build ``` > 本次更新升级的架构已上传最新的package.json > 删除 node_modules目录 > git pull然后 npm i 重新安装 切记 ```bash rm -rf node_modules # 删除node_modules ```