I'm following the Vite plugin documentation, but I'm running into an error because of the new Vite 7.
I'm creating a new project generated with the new 7.x latest version, then running it:
npm install tailwindcss @tailwindcss/vite
Found: [email protected]
node_modules/vite
dev vite@"^7.0.0" from the root project
Could not resolve dependency:
peer vite@"^5.2.0 || ^6" from @tailwindcss/[email protected]
node_modules/@tailwindcss/vite
@tailwindcss/vite@"*" from the root project
How can I still use it with Vite 7 and the @tailwindcss/vite plugin?