New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sass module stylings not applied on client components in nextjs13 #42267
Comments
@outdoteth this is a duplicate of #41791. Doing some testing myself, I've found that the problem is fixed in dev mode, but after building and serving (even having deployed to Vercel) a lot of my styles are still missing. Seems like there's still some work to be done here? |
Can you provide a more detailed reproduction, like a temporary repository? |
I had this issue all day and I couldn't figure what was going on but I updated 13.0.0 to 13.0.1 canary and the issue was fixed. I believe 13.01 was released just a few hours ago. |
This works after i bumped the version to 13.0.01. From the release notes:
|
Hey @shuding — thanks for the follow-up. Yes, we are building the new Payload website in public, and it's all open-source. https://github.com/payloadcms/website You'll see on https://stage.payloadcms.com that lots of the CSS module stylesheets are missing, but developing locally, they're all there. The site is certainly 100% in progress right now so things are unfinished everywhere but this shows the reproduction steps. I really appreciate your help here! Edit: I think this was fixed recently, like, today. Because now when we deploy, all the styles are loaded properly! THANK YOU |
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Verify canary release
Provide environment information
What browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
No response
Describe the Bug
When I convert my server component to a client component, the styles fail to render.
The following example works:
But this example fails to render the styles:
Expected Behavior
The styles should be applied on client components
Link to reproduction
closed source
To Reproduce
see above steps^
The text was updated successfully, but these errors were encountered: