In this tutorial, we will learn Laravel 8 Auth with Inertia JS Jetstream
Install Laravel 8:
composer create-project --prefer-dist laravel/laravel blogInstall Jetstream:
composer require laravel/jetstreamCreate Auth with Inertia:
php artisan jetstream:install inertia
OR
php artisan jetstream:install inertia --teamsNow, let's node js package:
npm installlet's run package:
npm run devnow, we need to run migration command to create database table:
php artisan migrateLaravel 8 Jetstream Features
config/fortify.php
....
'features' => [
Features::registration(),
Features::resetPasswords(),
Features::emailVerification(),
Features::updateProfileInformation(),
Features::updatePasswords(),
Features::twoFactorAuthentication(),
],
...config/jetstream.php
....
'features' => [
Features::profilePhotos(),
Features::api(),
Features::teams(),
],
...Run your application by running the following command:
php artisan serveMay this article help you.