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