mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-04-22 20:38:55 -05:00
docs(zh): Sync Chinese translation (#5051) [ci skip]
This commit is contained in:
@@ -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'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user