mp-app
Project setup
npm install
Compiles and hot-reloads for development(h5/mp-app)
npm run serve
npm run dev:h5
npm run dev:mp-weixin
Compiles and minifies for production
npm run build
Customize configuration
See Configuration Reference.
提交规范
- type: commit 的类型;
- feat: 新特性;
- fix: 修改问题
- refactor: 代码重构
- docs: 文档修改
- style: 代码格式修改, 注意不是 css 修改
- test: 测试用例修改
- chore: 其他修改, 比如构建流程, 依赖管理.
- scope: commit 影响的范围, 比如: route, component, utils, build..
- subject: commit 的概述, 建议符合 50/72 formatting
- body: commit 具体修改内容, 可以分为多行, 建议符合 50/72 formatting
- footer: 一些备注, 通常是 BREAKING CHANGE 或修复的 bug 的链接.