4

laravel>routes>web.php file in visual studio code IDE

I'm new to Laravel. The Visual Studio code shows an error on my Laravel project laravel>routes>web.php file but the program runs fine without any errors.

Any explanation on how this works?

Hedayatullah Sarwary
  • 2,664
  • 3
  • 24
  • 38

1 Answers1

11

Use this code in your routes/web.php file

use Illuminate\Support\Facades\Auth;

Or just use:

use Auth;
Hedayatullah Sarwary
  • 2,664
  • 3
  • 24
  • 38