Reputation: 119
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?
Upvotes: 5
Views: 5226
Reputation: 2834
Use this code in your routes/web.php file
use Illuminate\Support\Facades\Auth;
Or just use:
use Auth;
Upvotes: 12