We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cssModule时可以使用 style.listItem 而不是 style['list-item']
cssLoaderOption:{ exportLocalsConvention:camelCase }
The text was updated successfully, but these errors were encountered:
这样设置 Taro 编译配置即可:
cssLoaderOption:{ localsConvention: 'camelCase' }
小程序的编译时:@tarojs/mini-runner 使用的 css-loader 版本是 3.x,但 css-loader 4.x 的时候才把这个配置项移动为 modules.exportLocalsConvention
@tarojs/mini-runner
css-loader
modules.exportLocalsConvention
Sorry, something went wrong.
No branches or pull requests
这个特性解决了什么问题?
cssModule时可以使用 style.listItem 而不是 style['list-item']
这个 API 长什么样?
cssLoaderOption:{
exportLocalsConvention:camelCase
}
The text was updated successfully, but these errors were encountered: