I try to use css modules to style my components but the css is override by Material-UI css.
I even download the example by: https://codesandbox.io/s/m4j01r75wx (reported here https://material-ui-next.com/guides/interoperability/#css-modules and here https://material-ui-next.com/customization/css-in-js/#css-injection-order) but when i run npm install i got back npm WARN [email protected] No repository field.
npm WARN [email protected] No license field. and when I run npm start the Button are default styled.
@Damix48 Is this a Material-UI issue?
Well, I think so, because if I don't use the Material-UI CSS Modules work fine and the code that there is in the documentation don't work.
Can you provide a reproduction repository? :)
I download this https://codesandbox.io/s/m4j01r75wx that is a link from https://material-ui-next.com/guides/interoperability/#css-modules
@Damix48 Thanks for the feedback! I'm on it.
Thank you!
Fixed. I had to follow https://parceljs.org/transforms.html#postcss
Most helpful comment
@Damix48 Thanks for the feedback! I'm on it.