Replies: 2 comments 1 reply
-
I don't think splitting up the Tailwind CSS file is worth the effort. The benefit of Tailwind is that the vast majority of the classes will be shared across routes. Even big sites tend to approach a limit of around 10KB before gzip. |
Beta Was this translation helpful? Give feedback.
1 reply
-
I think you can just add |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi folks,
I am looking to see how people are tackling the tailwind bundle for different routes.
Most of the content on the web is about setting up Tailwind with Remix and it just bundles everything into one file. I am interested in breaking it down to route levels so each route can leverage the Remix links export with only the CSS it needs in addition to basic/global from the root.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions