auth::routes(); laravel 7 code example
Example 1: php artisan ui:auth laravel 7
composer require laravel/ui
php artisan ui vue --auth
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"