use laravel ui in laravel 8 code example
Example 1: laravel ui
composer require laravel/ui // install laravel/ui
php artisan ui bootstrap --auth // login-reg scaffolinding
Example 2: laravel/ui for laravel 7
composer require laravel/ui:^2.4
composer require laravel/ui // install laravel/ui
php artisan ui bootstrap --auth // login-reg scaffolinding
composer require laravel/ui:^2.4