It is a good tutorial, but I would add that it is necessary to add the ui for login. I fixed it after running the following commands and comment this line 'title' => 'Integration Swagger in Laravel with Passport Auth',
composer require laravel/ui
// Generate basic scaffolding...(any of these) php artisan ui bootstrap php artisan ui vue php artisan ui react
// Generate login / registration scaffolding...(any of these) php artisan ui bootstrap --auth php artisan ui vue --auth php artisan ui react --auth
npm install npm run dev
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
It is a good tutorial, but I would add that it is necessary to add the ui for login.
I fixed it after running the following commands and comment this line
'title' => 'Integration Swagger in Laravel with Passport Auth',
composer require laravel/ui
// Generate basic scaffolding...(any of these)
php artisan ui bootstrap
php artisan ui vue
php artisan ui react
// Generate login / registration scaffolding...(any of these)
php artisan ui bootstrap --auth
php artisan ui vue --auth
php artisan ui react --auth
npm install
npm run dev