Which version of Laravel are you using? I guess you need to import bootstrap in your app.js so mix can compile it for you. Or you're importing it directly in your layout files from the bootstrap CDN.
Mar 17, 2021
4
Level 3
Bootstrap JS isn't being included
None of the JS functions of the Bootstrap components of my application are working. (Bootstrap CSS works fine). I assume that all of Bootstrap's dependencies haven't been properly included.
I ran php artisan ui bootstrap and npm install && npm run dev. I included public/css/app.css and public/js/app.js in the HTML of my base layout. What else am I missing?
Also, by running these commands, FontAwesome has disappeared from my app.css file. Why would it have been affected?
Please or to participate in this conversation.