This package is no longer maintained. Please consider my latest package here: https://github.com/redbastie/tailwire
Basic Laravel auth scaffolding using Livewire and Tailwind.
It is strongly recommended to use this package with a brand new Laravel app.
NPM must be installed on your machine to use this package.
Install Laravel:
laravel new my-app-name
Configure .env
app, database, and mail values:
APP_*
DB_*
MAIL_*
Install Livewire Tailwind Auth:
composer require redbastie/livewire-tailwind-auth
Make Livewire Tailwind Auth via the make:auth
command:
php artisan make:auth
This will run the necessary NPM commands and create/overwrite the following files:
app/Http/Livewire/*
database/seeders/DatabaseSeeder.php
resources/css/app.css
resources/views/*
tailwind.config.js
webpack.mix.js
Now you can login to your app using [email protected]:password
.