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