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