Skip to content

Commit afb5db8

Browse files
ntnyqhaoqunjiang
authored andcommitted
docs(zh): Sync Chinese translation (#5051) [ci skip]
1 parent 9ec2d34 commit afb5db8

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

docs/zh/guide/css.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,13 @@ module.exports = {
100100
css: {
101101
loaderOptions: {
102102
css: {
103-
localIdentName: '[name]-[hash]',
104-
camelCase: 'only'
103+
// 注意:以下配置在 Vue CLI v4 与 v3 之间存在差异。
104+
// Vue CLI v3 用户可参考 css-loader v1 文档
105+
// https://github.com/webpack-contrib/css-loader/tree/v1.0.1
106+
modules: {
107+
localIdentName: '[name]-[hash]'
108+
},
109+
localsConvention: 'camelCaseOnly'
105110
}
106111
}
107112
}

0 commit comments

Comments
 (0)