As Laravel 8 has removed default auth Scaffolding, I will explain about adding auth scaffolding in Laravel 8.
we can add the
laravel/ui package has bootstrap and Vue UI Component and auth scaffolding.
To know more about this package you can visit
Github Laravel UI.
laravel/ui package into project,
composer require laravel/ui
laravel/ui package has been installed, you may install the frontend scaffolding using the
ui Artisan command:
// Generate basic scaffolding... php artisan ui bootstrap php artisan ui vue php artisan ui react // Generate login / registration scaffolding... php artisan ui bootstrap --auth php artisan ui vue --auth php artisan ui react --auth
After including UI Components now we have to add CSS and JS Files, For that, we need to run the following commands.
npm install npm run dev
You can watch this video I have explained this.
Thank You for Reading