Tailwind support #348
Replies: 7 comments 1 reply
-
Hi, I'm glad you like Mint 🙂 I'm not sure what you mean by official support, what you can do now is to include the compiled Tailwind CSS in either the head file or in the |
Beta Was this translation helpful? Give feedback.
-
I guess official support means ability to tree-shake unused tailwind styles (purge) and optimize build size? |
Beta Was this translation helpful? Give feedback.
-
you can see https://www.mint-lang.com/guide/recipes/using-third-party-css for info on how to set it up |
Beta Was this translation helpful? Give feedback.
-
It is unclear to me, but it seems that the guide does not address tree-shaking unused tailwind styles. First-class Tailwind support would be a very attractive feature to me. |
Beta Was this translation helpful? Give feedback.
-
That's not possible at the moment because Mint does not interface with the NPM ecosystem, until it does the only option is to use a pre-build version of it. Also it's not possible to create tailwind style utility CSS because there are no global styles. |
Beta Was this translation helpful? Give feedback.
-
I'm looking for that language now and cannot see how to use Tailwind (JIT version) with mint-ui, for example. |
Beta Was this translation helpful? Give feedback.
-
Hi, I created a repo to show how integrate mint + tailwind with tree-shaking: https://github.com/DavidBernal/mint-tailwind-boilerplate Probably is not the best solution, but is easy and works correctly. |
Beta Was this translation helpful? Give feedback.
-
I'm trying out mint and so far I'm loving it. The live code rebuilds are ridiculously fast. Would be great to see official Tailwind CSS support.
Beta Was this translation helpful? Give feedback.
All reactions