Name Last Update
build Loading commit data...
public Loading commit data...
src Loading commit data...
tests/unit Loading commit data...
.editorconfig Loading commit data...
.env.development Loading commit data...
.env.production Loading commit data...
.env.staging Loading commit data...
.eslintignore Loading commit data...
.eslintrc.js Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
LICENSE Loading commit data...
README-zh.md Loading commit data...
README.md Loading commit data...
babel.config.js Loading commit data...
jest.config.js Loading commit data...
jsconfig.json Loading commit data...
package.json Loading commit data...
postcss.config.js Loading commit data...
vue.config.js Loading commit data...

README-zh.md

Build Setup

安装依赖

npm install

建议不要直接使用 cnpm 安装以来,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题

npm install --registry=https://registry.npm.taobao.org

启动服务

npm run dev



## 发布

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

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

其它

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

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

# 代码格式检查
npm run lint

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