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?

139 thoughts on “Using bootstrap in laravel”

  1. Pingback: keto tamales
  2. Please let me know if you’re looking for a article writer for your
    blog. You have some really good articles and I believe I would be a good asset.
    If you ever want to take some of the load off, I’d
    love to write some content for your blog in exchange for a link back to mine.
    Please shoot me an e-mail if interested. Kudos!

    Reply
  3. Greetings! I know this is kind of off topic but I was wondering which
    blog platform are you using for this site? I’m getting sick and tired of
    Wordpress because I’ve had problems with hackers and
    I’m looking at options for another platform. I would be awesome if
    you could point me in the direction of a good platform.

    Reply
  4. Hello! This post could not be written any better! Reading this post reminds me of
    my old room mate! He always kept talking about
    this. I will forward this write-up to him. Pretty sure
    he will have a good read. Thanks for sharing!

    Reply
  5. Its like you read my mind! You seem to know so much about this, like you wrote the
    book in it or something. I think that you can do with some pics to
    drive the message home a bit, but instead of that, this is magnificent blog.
    An excellent read. I’ll certainly be back.

    Reply
  6. You’re so interesting! I don’t think I have read through a
    single thing like this before. So wonderful to find
    someone with some unique thoughts on this subject.
    Really.. thank you for starting this up. This site is one thing that is needed on the internet,
    someone with a little originality!

    Reply

Leave a Comment