You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
zcSkr
changed the title
Taro2.2.11 版本配置了cssLoaderOption->modules:true之后导致Taro UI样式失效,请贴一下默认global模式的配置
Taro2.2.11+版本配置了cssLoaderOption->modules:true之后导致Taro UI样式失效,请贴一下默认global模式的配置
Aug 7, 2020
相关平台
微信小程序
小程序基础库: 2.12.0
使用框架: React
复现步骤
mini: {
cssLoaderOption: {
modules: true,
},
}
期望结果
开启css module,样式文件不用加.global/.module
且Taro UI样式正常
实际结果
css module是开启了,但是导致在app.js 中引入的
import taro-ui/dist/style/index.scss 失效了
环境信息
The text was updated successfully, but these errors were encountered: