Hello,
How do we convert the dashed to camelcase for css class names? I usually do it in webpack.config.js file with the following..
{
loader: 'css-loader',
options: {
camelCase: true
}
}
This doesn't work for me. Probably dva is using something else?
More details
Test.css
.auth-form{
background: white;
padding: 20px;
}
TestComponent.js
import style from './Test.css
render(){
return <form className={style['auth-form']}> ... </form>
}
Need to be able to call style.authForm after import.
Hello,
How do we convert the dashed to camelcase for css class names? I usually do it in
webpack.config.jsfile with the following..This doesn't work for me. Probably dva is using something else?
More details
Test.css
TestComponent.js
Need to be able to call
style.authFormafter import.