Minimal authentication scaffolding with Inertia.js, Vue.js and Tailwind CSS.
laravel new foobar-app
cd foobar-app
composer require imagdic/blitz --dev
php artisan blitz:install
This will install official Inertia.js
Laravel adapter for server-side along with Ziggy
so we can use routes in JavaScript.
For client-side it will install official Inertia.js
adapter, Tailwind CSS
and Vue.js
.
After successful installation you'll have minimal authentication (Login and Register).
User
model has to implement Illuminate\Contracts\Auth\MustVerifyEmail
and add verified
middleware on routes you want to protect.
See Email Verification for more details.