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


npm run dev

Now you can work with your bootstrap 4 app.

You can use it as like bellow:

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

May this help you.