- Notifications
You must be signed in to change notification settings - Fork488
CSS modules with Typings#197
Uh oh!
There was an error while loading.Please reload this page.
Conversation
DorianGrey commentedNov 28, 2017
@tomaash , don't get me wrong - I appreciate the effort you've put into this. However, I would be really useful to have this setup available in some kind of documentation for those interested in it. |
tomaash commentedNov 28, 2017
I agree, this cannot really be just merged. After some experimenting, I reverted my approach to not use |
tomaash commentedDec 6, 2017
OK, so I just figured out that the best way to get CSS modules to any create-react-app setup is to usereact-app-rewired Now my addons to react-scripts webpack are in aplugin. Closing this PR. |
FDiskas commentedMar 30, 2018 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@tomaash :local { .demo: {color: red; }} then just import it like importstylefrom'./my.css'//...<MyAppclassname={style.demo}/> |
No description provided.