redbastie/livewire-tailwind-auth

Basic Laravel auth scaffolding with Livewire and Tailwind.

1.0.3 2021-01-19 12:34 UTC

This package is auto-updated.

Last update: 2024-03-29 04:26:21 UTC


README

This package is no longer maintained. Please consider my latest package here: https://github.com/redbastie/tailwire

Livewire Tailwind Auth

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.

Installation

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 user@example.com:password.