In this tutorial, we will learn Laravel 8 Install Bootstrap Example

If you want to install bootstrap 4 in your laravel 8 project then install following laravel ui composer package to get command:

composer require laravel/ui


Install Bootstrap 4

php artisan ui bootstrap


Install Bootstrap 4 with auth

php artisan ui bootstrap --auth


Install NPM

npm install


Run NPM

npm run dev

Now you can work with your bootstrap 4 app.

You can use it as like bellow:

<!doctype html>
<html>
<head>
    <!-- Scripts -->
    <script src="{{ asset('js/app.js') }}" defer></script>
   
    <!-- Styles -->
    <link href="{{ asset('css/app.css') }}" rel="stylesheet">
</head>
<body>
    <h1>This is example from rathorji.in</h1>
</body>
</html>


May this help you.