Popper not found when using vuejs in Laravel

Asked

Viewed 25 times

0

In one of my projects Laravel (5.8) I am using Vuejs, basically only created some components, I did not make any changes in the default configuration of Vue.

But I’m getting the bug:

Failed to load resource: the server responded with a status of 404 (Not Found) for Popper.js.map

I don’t understand since the Bootstrap.js file on Youtube has the snippet:

try {
    window.Popper = require('popper.js').default;
    window.$ = window.jQuery = require('jquery');

    require('bootstrap');
} catch (e) {}
  • Tries to install dependency: https://www.npmjs.com/package/popper

  • but it is installed ("Popper.js": "1.12",). It is part of package.json (default) of Laravel.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.