Bootstrap 4: Uncaught ReferenceError: Popper is not defined

后端 未结 8 1241
猫巷女王i
猫巷女王i 2020-11-27 17:23

I\'ve installed Bootstrap 4 using Node and Gulp and when running the application I get the following error

Uncaught ReferenceError: Popper is not def

8条回答
  •  感动是毒
    2020-11-27 17:47

    I had the same. I'm on Rails and i followed bootstrap 4 gem installation from https://github.com/twbs/bootstrap-rubygem. I just make popper requirement in application.js first, like this :

    //= require popper
    //= require jquery3
    //= require jquery_ujs
    //= require bootstrap-sprockets
    //= require bootstrap
    

提交回复
热议问题