How to install Tailwind CSS and daisyUI in a Laravel project
Install PHP, Composer and Laravel Installer according to the official Laravel documentation
Create a new Laravel project
laravel new my-app
cd my-app
npm i -D daisyui@latest
Add daisyUI in your CSS file
@import "tailwindcss";
/* other stuff */
+ @plugin "daisyui";
Run your Laravel project
php artisan serve
And on another terminal tab, run Vite
npm run dev
Now you can use daisyUI class names!