Skip to content

Commit

Permalink
docs(zh): Sync Chinese translation (vuejs#5051) [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
ntnyq authored and mactanxin committed Jan 12, 2020
1 parent 897ffdb commit ec82c11
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions docs/zh/guide/css.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,13 @@ module.exports = {
css: {
loaderOptions: {
css: {
localIdentName: '[name]-[hash]',
camelCase: 'only'
// 注意:以下配置在 Vue CLI v4 与 v3 之间存在差异。
// Vue CLI v3 用户可参考 css-loader v1 文档
// https://github.com/webpack-contrib/css-loader/tree/v1.0.1
modules: {
localIdentName: '[name]-[hash]'
},
localsConvention: 'camelCaseOnly'
}
}
}
Expand Down

0 comments on commit ec82c11

Please sign in to comment.