A preset for installing @tailwindlabs in a fresh Laravel project

  • By Laravel Presets
  • Last update: Jan 22, 2022
  • Comments: 2

Comments(2)

  • 1

    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 the css folder: https://github.com/laravel/laravel/blob/588247b790f4f0d13296247f8140b1466e1e6936/webpack.mix.js#L15

  • 2

    feat: 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 on laravel/ui.