-
Notifications
You must be signed in to change notification settings - Fork 156
Open
Description
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.
Metadata
Metadata
Assignees
Labels
No labels