laravel view auth::user code example
Example 1: laravel 7 auth
composer require laravel/ui
php artisan ui vue --auth
Example 2: make auth in laravel 7
composer require laravel/ui "^2.0"
composer require laravel/ui
php artisan ui vue --auth
composer require laravel/ui "^2.0"