Check the browser console while dev is running
Vite is not working anymore
Hi everyone sorry to bother you.
I worked with Vite and Tailwind CSS before without any problem in Laravel v9.20 and it was perfect.
Today I installed a fresh Laravel (v9.23) and Tailwind CSS (through the documentation and config it properly). When I use "npm run dev" which is "vite" it will run vite but tailwind styles are not applied, But when I use "npm run build" it builds it correctly and styles are applied. If I run the dev script again, all the applied tailwind styles will go away again.
I really don't know what is the problem. It worked fine in the past. I Appreciate your help in advance Thanks
Please or to participate in this conversation.