bootstrap install in laravel 8 code example
Example 1: install bootstrap in laravel
composer require laravel/ui
php artisan ui bootstrap # to install the auth scaffoldings line 3 instead
php artisan ui bootstrap --auth
npm install
Example 2: how to install bootstrap in laravel 8
// How to install bootstrap in laravel
composer require laravel/ui
php artisan ui bootstrap
npm install && npm run dev