VanJr
1 month ago
5134
8
Laravel

Laravel 8: Jetstream; Livewire; Inertia error

Posted 1 month ago by VanJr

I just performed a fresh installation of Laravel 8.0.0 and I am following the DOCs to get a login/registration page. I executed these two commands successfully

composer require laravel/jetstream

php artisan jetstream:install livewire/inertia

but I am getting this error:

Error
Class 'Inertia\Inertia' not found
http://127.0.0.1:8000/

Laravel\Jetstream\Http\Middleware\ShareInertiaData::handle
vendor/laravel/jetstream/src/Http/Middleware/ShareInertiaData.php:23

Did I miss a step?

Please sign in or create an account to participate in this conversation.