fix(components): 修复搜索页样式错乱
This commit is contained in:
@@ -55,6 +55,7 @@ const config = {
|
||||
},
|
||||
sass: {
|
||||
data: `@import "@nutui/nutui-taro/dist/styles/variables.scss";`,
|
||||
silenceDeprecations: ['import'],
|
||||
},
|
||||
alias: {
|
||||
'@': join(__dirname, '..', 'src'),
|
||||
@@ -98,7 +99,7 @@ const config = {
|
||||
},
|
||||
},
|
||||
cssModules: {
|
||||
enable: false, // 默认为 false,如需使用 css modules 功能,则设为 true
|
||||
enable: true, // 默认为 false,如需使用 css modules 功能,则设为 true
|
||||
config: {
|
||||
namingPattern: 'module', // 转换模式,取值为 global/module
|
||||
generateScopedName: '[name]__[local]___[hash:base64:5]',
|
||||
|
||||
Reference in New Issue
Block a user