前端

GaoYuPeng 7332594bb4 '后台地址修改' %!s(int64=2) %!d(string=hai) anos
build db701b3f80 history模式配置 %!s(int64=3) %!d(string=hai) anos
mock 1cd92c8241 '初次提交' %!s(int64=3) %!d(string=hai) anos
public ba52e96411 '粮情检测' %!s(int64=3) %!d(string=hai) anos
src 91aad0d48c 'x' %!s(int64=2) %!d(string=hai) anos
tests 1cd92c8241 '初次提交' %!s(int64=3) %!d(string=hai) anos
.editorconfig 1cd92c8241 '初次提交' %!s(int64=3) %!d(string=hai) anos
.env.development 1cd92c8241 '初次提交' %!s(int64=3) %!d(string=hai) anos
.env.production 38d0bad2b0 '.' %!s(int64=3) %!d(string=hai) anos
.env.staging 1cd92c8241 '初次提交' %!s(int64=3) %!d(string=hai) anos
.eslintignore 1cd92c8241 '初次提交' %!s(int64=3) %!d(string=hai) anos
.eslintrc.js 1cd92c8241 '初次提交' %!s(int64=3) %!d(string=hai) anos
.gitignore 0bb9fbb141 '系统管理接口' %!s(int64=2) %!d(string=hai) anos
.travis.yml 1cd92c8241 '初次提交' %!s(int64=3) %!d(string=hai) anos
LICENSE 1cd92c8241 '初次提交' %!s(int64=3) %!d(string=hai) anos
README-zh.md 1cd92c8241 '初次提交' %!s(int64=3) %!d(string=hai) anos
README.md e9280c2f8b 'eslint' %!s(int64=3) %!d(string=hai) anos
babel.config.js 1cd92c8241 '初次提交' %!s(int64=3) %!d(string=hai) anos
jest.config.js 1cd92c8241 '初次提交' %!s(int64=3) %!d(string=hai) anos
jsconfig.json 1cd92c8241 '初次提交' %!s(int64=3) %!d(string=hai) anos
package.json ba52e96411 '粮情检测' %!s(int64=3) %!d(string=hai) anos
postcss.config.js 1cd92c8241 '初次提交' %!s(int64=3) %!d(string=hai) anos
vue.config.js 7332594bb4 '后台地址修改' %!s(int64=2) %!d(string=hai) anos

README-zh.md

# 克隆项目
git clone ...

# 进入项目目录
cd smart-grp-front-web

# 安装依赖
npm install

# 建议不要直接使用 cnpm 安装以来,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题
npm install --registry=https://registry.npm.taobao.org

# 启动服务
npm run dev

浏览器访问 http://localhost:9528

发布

# 构建测试环境
npm run build:stage

# 构建生产环境
npm run build:prod

其它

# 预览发布环境效果
npm run preview

# 预览发布环境效果 + 静态资源分析
npm run preview -- --report

# 代码格式检查
npm run lint

# 代码格式检查并自动修复
npm run lint -- --fix