tailwind not compiling styles with nextjs custom servers #13809
Replies: 4 comments 2 replies
-
@adamwathan any comments why this was moved into a discussion thread without commenting on it? |
Beta Was this translation helpful? Give feedback.
-
this may not be your issue, but using a custom server in my app requires custom scripts for dev/build/start etc, and none of these had
and after that, the tailwind css started showing up in the app both in dev and built |
Beta Was this translation helpful? Give feedback.
-
This worked for me postcss.config.js
|
Beta Was this translation helpful? Give feedback.
-
enable turbopack
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
If I do my custom nextjs server tailwind does not work?
https://nextjs.org/docs/pages/building-your-application/configuring/custom-server
I self-host nextjs and use other custom servers for that but tailwind for some reason does not know how to deal with this.
Beta Was this translation helpful? Give feedback.
All reactions