Skip to content

Commit

Permalink
Updated zh-cn translation in cli section (vuejs#5019)
Browse files Browse the repository at this point in the history
* UPDATDED: translation in simplified Chinese for 'yorkie' and 'husky' in warning

* UPDATED: add missing code snippits in EN doc
  • Loading branch information
mactanxin committed Jan 12, 2020
1 parent dbd97c5 commit 897ffdb
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/zh/guide/cli-service.md
Expand Up @@ -126,12 +126,18 @@ npx vue-cli-service help [command]
{
"gitHooks": {
"pre-commit": "lint-staged"
},
"lint-staged": {
"*.{js,vue}": [
"vue-cli-service lint",
"git add"
]
}
}
```

::: warning
`yorkie` fork 自 [`husky`](https://github.com/typicode/husky) 且并不和之后的版本兼容
`yorkie` fork 自 [`husky`](https://github.com/typicode/husky) 且并与后者不兼容
:::

## 配置时无需 Eject
Expand Down

0 comments on commit 897ffdb

Please sign in to comment.