Tailwind CSS for Laravel
npx apply laravel:tailwindcss
This preset adds a basic Tailwind CSS installation to Laravel.
It's a good starting point for any Laravel project using Tailwind.
See what it does - Read documentation
It's a good starting point for any Laravel project using Tailwind.
See what it does - Read documentation
·
Built with ❤︎ by Enzo Innocenzi
fix: update `app.css` path in `welcome.blade.php`
If you make a new plain project and apply the preset, you'll get this message:
Unable to locate Mix file: /build/app.css.
That is because by default Laravel ships
app.css
into thecss
folder: https://github.com/laravel/laravel/blob/588247b790f4f0d13296247f8140b1466e1e6936/webpack.mix.js#L15feat: add authentication
This PR adds support for authentication with the
--auth
flag.It will copy the templates from the official Tailwind CSS preset and require
laravel/ui
. In the future, this will be changed to custom templates and single-action controllers, in order to not rely onlaravel/ui
.