Question About SSR and Tailwind CSS in Next.js #15295
Unanswered
mohamad-fallah
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello Tailwind CSS team,
I have a question regarding how Tailwind CSS can be used in a Server-Side Rendering (SSR) environment. Specifically, I want to know if it's possible for Tailwind CSS to be built on the server and then sent to the browser as part of the SSR process.
Is it possible to generate the Tailwind CSS on the server during SSR, so that it can be delivered to the browser?
How does Tailwind CSS handle CSS generation in SSR environments? Does it require specific configurations to properly generate the CSS on the server?
Looking forward to your guidance and best practices on how to set this up properly!
Best regards,
Beta Was this translation helpful? Give feedback.
All reactions