How to install popper.js with Bootstrap 4?

后端 未结 11 890
眼角桃花
眼角桃花 2020-12-07 17:17

From what I\'ve read so far, popper.js is a big pain with Bootstrap 4. I can\'t get it to work. I keep getting this error:

Error: Bootstrap dropdown r

11条回答
  •  死守一世寂寞
    2020-12-07 18:13

    Try doing this:

    npm install bootstrap jquery popper.js --save
    

    See this page for more information: how-to-include-bootstrap-in-your-project-with-webpack

提交回复
热议问题