danielgraziani's avatar

popper.js.map not found in Laravel 5.5 and Bootstrap 4

Hi, there! I have switched to Bootstrap with Laravel 5.5 using the official presets: https://laravel-news.com/bootstrap-4-laravel-preset. Anyway, for example, I cannot use Popovers because Popper is not found and I cannot figure out why... It should be everything ok since I used the official presets. Can you help me, please?

0 likes
1 reply
bobbybouwmann's avatar

You need to download popper.js yourself. Bootstrap uses it, but it's not included in the bootstrap code.

As you can see on the homepage of the bootstrap docs they say that you need to include the CDN for popper.js yourself

I found this but of text in the docs

Bootstrap is dependent on jQuery and Popper, these are defined as peerDependencies, this means that you will have to make sure to add both of them to your package.json using npm install --save jquery popper.js

Please or to participate in this conversation.