-
Notifications
You must be signed in to change notification settings - Fork 117
CSS Modules + React #35
Comments
Have you figured this out yet? I'm encountering the same issue .. |
I am also facing the same issue. Did anyone get any solution? |
The answer to this is here. |
Basically you have to ignore Ag-Grid style files when compiling your css-modules |
I'm not using Webpack, just React+Typescript. How would you suggest I resolve this? @v1nn1k |
I have the same issue, my grid styles are being overridden by media query css.. |
Use the below two npm commands to install the CSS and Style loader: npm install style-loader - You can add the Version of the loaded if required You are not required to change anything else. |
We are moving away from
in Style.css
|
Just a heads up StephenCooper this did not work for us I will have to alter the loader. No variant of @import and extra stylesheet styles the grid successfully yet. |
Sorry I think I jumped into this ticket without knowing the full context and what the actual problem was. I was just aiming to point out that the all-modules packages are not the recommend source. I guess you are targeting 25.1 as that matches the version of the code you are running? |
4 Years of open issue and still issue exists. |
Hello,
I'm using CSS modules in react, and was wondering how to apply the css files from node_modules?
I'm able to apply the fresh theme but not the styles from ag-grid.css
webpack:
jsx:
The text was updated successfully, but these errors were encountered: