feat(config): 添加全局SASS/SCSS导入配置
设置`sassCommonUseFilePath`和`scssCommonUseFilePath`以引用全局SASS和SCSS文件,实现项目范围内的样式导入,无需在每个组件中显式编写@use语句。
This commit is contained in:
1 parent
f19f4b8d41
commit
99e49ef286
1 file changed
+5
-1
+5
-1
@@ -38,7 +38,11 @@
|
|||||||
"swc": true,
|
"swc": true,
|
||||||
"disableSWC": false,
|
"disableSWC": false,
|
||||||
"disableUseStrict": false,
|
"disableUseStrict": false,
|
||||||
"urlCheck": false
|
"urlCheck": false,
|
||||||
|
"sassSetting": {
|
||||||
|
"sassCommonUseFilePath": "global.sass",
|
||||||
|
"scssCommonUseFilePath": "global.scss"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"simulatorType": "wechat",
|
"simulatorType": "wechat",
|
||||||
"simulatorPluginLibVersion": {},
|
"simulatorPluginLibVersion": {},
|
||||||
|
|||||||
Reference in new issue
Block a user