In order to use the Auth::routes() method, please install the laravel/ui package 1


Solution

Step 1:

 Run the following command on your terminal to install laravel-ui:

 

composer require laravel/ui

 

Step 2:

Now update the composer:

 

composer update

 

Now, manually delete .php files within bootstrap/cache.