install bootstrap laravel 6 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

Example 3: composer require laravel/ui for laravel 6

composer require laravel/ui="1.*" --dev

Tags:

Html Example