laravel 5.8 authenticatesUsers code example
Example 1: laravel auth
composer require laravel/ui
php artisan ui vue --auth
npm install && npm run dev
Example 2: Route::auth(); giving error in laravel 7
Do this step from the upgrade guide
https://laravel.com/docs/7.x/upgrade#authentication-scaffolding
############
composer require laravel/ui "^2.0"