Open
Description
Command
build
Description
Tailwind v4 is changing the installation and configuration. It would be great to update the cli to make sure v4 is supported.
Describe the solution you'd like
The cli should support the new postcss plugin https://tailwindcss.com/docs/v4-beta#installing-with-post-css
Also detection probably has to be changed as v4 no longer uses js to configure tailwind but instead css variables https://tailwindcss.com/docs/v4-beta#installing-with-post-css
I guess the best detection at this point is having tailwindcss with a version >4 installed and ideally the cli also makes sure @tailwindcss/postcss is installed.
Describe alternatives you've considered
Tailwind also offers a vite plugin, but to my understanding, postcss should be easier to support