Replies: 3 comments 7 replies
-
I have been testing Next.js 13 Layout since its closed beta weeks ago. I have encountered the same problem as well and have reported the issue to the Next.js team already. Also, I have fired an issue after Next.js conf starts, see vercel/next.js#41791 It is not only style9. I even reproduce the issue with css modules. |
Beta Was this translation helpful? Give feedback.
-
So, looks like Next#42077 indeed fixed the issue with css-modules and static css files, but Style9 is still broken. In dev mode, a CSS file is generated in Ran into another issue with running a production build so couldn't check there |
Beta Was this translation helpful? Give feedback.
-
Not very well versed in this, but after some research, it would seem that the culprit is that Next uses the @johanholmerin @SukkaW any ideas on how to tackle this? |
Beta Was this translation helpful? Give feedback.
-
We tried to use Style9 inside Next's new app dir, and it would seem that mini-css-extract-plugin doesn't extract and inject a css file.
Classes are added to the DOM, so Style9 itself does work.
It also works when adding
'use client'
at the top of the layout file.I didn't have time to dig into it, but does anyone has any idea? @SukkaW are you experiencing the same issue?
Beta Was this translation helpful? Give feedback.
All reactions