Please install the laravel/ui package in order to use the Auth::routes() method. code example
Example: In order to use the Auth::routes() method, please install the laravel/ui package.
composer require laravel/ui
php artisan ui vue --auth
composer require laravel/ui
php artisan ui vue --auth