@guest in laravel 8 code example Example: laravel auth composer require laravel/ui php artisan ui vue --auth npm install && npm run dev