In this tutorial, we will learn Laravel 8 Auth with Inertia JS Jetstream


Install Laravel 8:

composer create-project --prefer-dist laravel/laravel blog

Install Jetstream:

composer require laravel/jetstream

Create Auth with Inertia:


php artisan jetstream:install inertia

OR

php artisan jetstream:install inertia --teams

Now, let's node js package:


npm install

let's run package:

npm run dev

now, we need to run migration command to create database table:

php artisan migrate

Laravel 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 serve

May this article help you.