I am currently working on a react, working perfectly in local, the CSS seems to be broken in production, even when using the “normal” production deployment tuto made by react here
node, npm and yarn versions are the same locally and remotly … remote is debian, local is mac
I do not understand …
Anyone had the same issue maybe ? 🙂
2
Answers
Found my answer ;) duplicate library, if anyone has
in package.json, if you declare @material-ui/core, you do not need to import @material-ui/styles
Have you checked in debug console from browser whether CSS files are loaded or not? Also by normal deployment do you mean production build served locally or remotely?
Please check network request made from console, sources and other part too.