Using bootstrap in laravel

i tried to use twitter bootstrap in Laravel 8, but after manual, bootstrap JS(?) dont work. CSS are loaded and styles work but dropdowns etc not. When i hit dropdown menu item nothin happen.

I did:

composer require laravel/ui
php artisan ui bootstrap
npm install
npm run watch / dev

<link rel="stylesheet" href="{{ mix('css/app.css') }}">
<script src="{{ mix('js/app.js') }}"></script>

However when i insert just CDN links everythin works ofc. What did i wrong?

1 thought on “Using bootstrap in laravel”

Leave a Comment