[Proposal] Migrate from @astrojs/tailwind to Tailwind's Vite Plugin
The latest version of "@astrojs/tailwind": "^5.1.4" in package.json is 6.0.0, but according to the CHANGELOG,
"Tailwind CSS now offers a Vite plugin, which is the preferred way to use Tailwind 4 in Astro. Please uninstall @astrojs/tailwind and follow the Tailwind documentation for manual installation."
I propose incorporating this change.
@h-willow-k
I don't think it's a problem to abolish integration, but since it includes PostCSS-dependent notations such as tailwindcss/nesting, it is still not realistic to migrate to Vite.
https://github.com/saicaca/fuwari/blob/8287e42e6e4e1cd835585b9749afeb506b0471fc/postcss.config.mjs#L8
@L4Ph I have understood that this approach is not yet realistic at this stage. Thank you for your response. I will keep the issue open for future updates.
I have tried tailiwind v4 + vite plugin, but due to many destructive changes, I will temporarily put it on hold and consult with saicaca to proceed.
Tailwind v4 will take longer due to the large number of classes(translate-y-0 etc...) etc. that already do not exist.