前端

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

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