The Tailwind setup is sort of independent from PHP - you'll need either a tool that supports PostCSS (Vite, Webpack, ...), or simply use the Tailwind CLI: tailwindcss.com/docs/installation
Vite will take care of processing PostCSS for you. Here's the official guide on setting up Tailwind CSS with Laravel using Vite: tailwindcss.com/docs/guides/laravel
I think Laravel has switched to using Vite instead of webpack (and therefore the webpack.mix.js file). You can check this guide to setup Laravel with Vite: tailwindcss.com/docs/guides/laravel
wow, great content, easy to understand
Good one. Quick and easy
Thanks ! I wanna know your vs code setup config. I love it.
Good stuff 👍
Thank you!
Nice Explanation bro
Worked for me !!!! Thank you bro 😍🤩🥰
Its doesnt need to run the npm?
Do i need always to run npm run watch in order to use Tailwindcss in Laravel?
So whenever I try installing tailwind css it gives me error EPERM. Is there a way to solve it ?
help, npm run watch is not working for me
sir please create a video on how can we setup Tailwindcss with PHP or how can we integrate Tailwindcss with PHP
The Tailwind setup is sort of independent from PHP - you'll need either a tool that supports PostCSS (Vite, Webpack, ...), or simply use the Tailwind CLI: tailwindcss.com/docs/installation
awesome
not working bcz laravel breeze tailwind not working on welcome file, it works only on login/register/dashboards
what if there's no webpack and only vite.js it does effect?
Vite will take care of processing PostCSS for you. Here's the official guide on setting up Tailwind CSS with Laravel using Vite: tailwindcss.com/docs/guides/laravel
How do you hot reload the browser?
install Laravel Breeze... run artisan serve and npm intsall && npm run dev done
Somehow webpack.mix.js file does not exist in my project. I'm new to PHP laravel
I think Laravel has switched to using Vite instead of webpack (and therefore the webpack.mix.js file).
You can check this guide to setup Laravel with Vite: tailwindcss.com/docs/guides/laravel
@@simonswiss HI ! I fixed my problem yesterday! And thanks !
:) I'm a new grad trying to get first job and damn it's hard
I dont have webpack.mix.js...
Edit: Nvm I fixed it.
Yeah, since this video Laravel has switched from webpack to Vite.js 👍