-
Hey all, I'm stuck on the Laravel installation guide for Tailwind v4.
I confirmed this is the case on a new project. As mentioned I followed the guide step by step even with the same project name (as you might see in the error above). Only difference is that I changed the This guide is very close to the normal installation, only difference is that normal Vite guide doesn't include Neither can I find other people complaining about this error, so I'm quite lost. Am I missing something important? Or does the general installation guide / Laravel installation guide not work? Any help or guidance would be more than welcome. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
I am dumb, should have checked this before. |
Beta Was this translation helpful? Give feedback.
-
Thanks for thinking outside the box, i made the observer too but didn't think of changing the version to 4.0.0 cause i just assumed since the tailwindcss/vite plugin is set to version 4.0.3, its how it set up for laravel installation. And since i followed the installation guide on tailwindcss website, i couldn't have thought that could've been the problem. Once again, thanks for your solution. |
Beta Was this translation helpful? Give feedback.
-
This was the solution for my case , thank you so much ❤️ |
Beta Was this translation helpful? Give feedback.
I am dumb, should have checked this before.
For some reason doing
npm install tailwindcss @tailwindcss/vite
installed TailwindCSS v3 still. So I was doing the v4 setup with v3 codebase. Resolved when manually setting tailwind version to v4 😅