Does the nextjs plugin require using app directory? #217
-
|
I'm experiencing some odd behavior whenever I try to use styles that involve media queries. Everything works fine, but as soon as I do something like this: the styles of my entire app break - the classes are all generated but no stylesheet is included. I'm wondering if this related to app directory vs pages? I tried to create a reproducible example and I actually can't get styles to work at all if I only use the pages directory when using the latest nextjs version. I also noticed unless I include a I'm still on Next 13 using pages directory - is there anything I'm missing? Any hints as to why this is happening? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
|
Yes the included nextjs plugin only works with |
Beta Was this translation helpful? Give feedback.
Yes the included nextjs plugin only works with
appdirectory. The plugin forpagesdirectory is simpler, however, so if you can share a stackblitz example, I'll be happy to help you.