广雅OA Android端H5页面 基于 vue@2.7.x vant@2.x
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
KamchanHe d89926c6e7 update: husky check path 3 years ago
.husky build: commit intercept 3 years ago
public init 3 years ago
src update: v-deep to :deep 3 years ago
.commitlintrc.js depend: eslint小版本升级 3 years ago
.eslintignore eslint,stylelint 3 years ago
.eslintrc.js eslint,stylelint 3 years ago
.gitignore init 3 years ago
.prettierrc.js eslint,stylelint 3 years ago
.stylelintignore eslint,stylelint 3 years ago
.stylelintrc.js update: v-deep to :deep 3 years ago
README.md build: commit intercept 3 years ago
jsconfig.json init 3 years ago
package.json update: husky check path 3 years ago
postcss.config.js eslint,stylelint 3 years ago
vite.config.js depend: 升级依赖 3 years ago

README.md

Vue 2 + Vite2 + Vant2

脚手架: vite@2.x.x 框架: vue@2.x.x UI: vant@2.x.x

代码规范

最好在你的 vs code 上安装以下插件 ESLint Prettier - Code formatter Stylelint

commit 规范

如果没有特别说明,所有的「:」冒号后面都要加「空格」

  • Header(type 类型请查看.commitlintrc.js 文件的注释) [optional scope]: 如:

    • git commit -m 'build: commit intercept'
    • git commit -m 'fix(account): 修复 xxx 的 bug'
  • Body(具体的描述本次修改的内容正文,可以是多行.) [optional body] 如: 本次修改了 xxx, 添加了 xxx,移除了 xxx

  • Footer(本次修改的脚注,针对重大修改使用「BREAKING CHANGE: 」来标记。一般只用于二种情况 1:不兼容变动 2:关闭 Issue) [optional footer(s)] 如:

    • BREAKING CHANGE: isolate scope bindings definition has changed.
    • Closes #123, #245, #992

Example

feat(scope): 修改了 API 协议

增加了很多不可描述的事情 删除了一些不必要的参数

BREAKING CHANGE: 修改了 API 协议