I had a CSS linked to one of my Redux components. In localhost, everything was working fine until I pushed the code and Vercel was unable to load the CSS specifically /src/features/counter/Counter.module.css. I tried using different methods nothing worked until I change the filename to counter.css.
Just ran a test deployment, and it looks like you got it working! Please let me know if you’re still having trouble with it
I unintentionally used CSS Module in my project which may have caused the problem previously. Now that I’m importing the file as a normal CSS file, it may have fixed the issue. But I will try again to confirm what really happening.
Yeah, it was indeed a problem with CSS Module.
1 Like
Thanks for confirming. I’m glad you found the solution ![]()
1 Like
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.