Open GeorgeNance opened 8 months ago
You should be able to try with a standard installation for now: https://tailwindcss.com/docs/guides/nuxtjs
Here you go: Just made an experimental/temporary module to try v4: https://github.com/pi0/nuxt-tailwindcss4
Currently it does add vite plugin (which uses oxide engine)
I believe the standard installation for V4 would be this - https://tailwindcss.com/blog/tailwindcss-v4-alpha?ref=upstract.com#using-post-css
Support for v4 is on the roadmap, see #790 but there's still a lot of changes required on v4 for the migration to be smooth - https://tailwindcss.com/blog/tailwindcss-v4-alpha?ref=upstract.com#roadmap-to-v4-0
Do I understand correctly: No more need for @nuxtjs/tailwindcss
with Tailwind 4 due to Tailwinds first-class support for Vite?
Do I understand correctly: No more need for
@nuxtjs/tailwindcss
with Tailwind 4 due to Tailwinds first-class support for Vite?
Unlikely. The module will still be useful in providing and enabling lot more support and features for Nuxt Layers, Devtools, etc. Plus Nuxt supports build tools other than Vite! It'll all be much clearer as v4 comes out of alpha I hope!
Is your feature request related to a problem? Please describe.
No problem yet, more of eager to try the latest tailwind with Nuxt
Describe the solution you'd like
Integration with v4 of tailwind. Or instructions on how to do it
Describe alternatives you've considered
N/A
Additional context
https://tailwindcss.com/blog/tailwindcss-v4-alpha