How to import popper.js?

后端 未结 11 2233
广开言路
广开言路 2020-12-25 10:12

It seems to be a lame question, but I cannot to figure it out. How to import popper.js which comes toghether with Bootstrap 4 beta?

I use bower and I\'ve installed B

11条回答
  •  误落风尘
    2020-12-25 10:53

    I really don't understand why Javascript world trying to do thing more complicated. Why not just download and include in html? Trying to have something like Maven in Java? But we have to manually include it in html anyway? So, what is the point? Maybe someday I will understand but not now.

    This is how I can get it

    • download & install NodeJs
    • run "npm install popper.js --save"
    • then I get this message

      popper.js@1.12.7 added 1 package in 1.215s

    • then where is "add package" ? very informative , right? I found it in my C:\Users\surasin\node_modules\popper.js\dist

    Hope this help

提交回复
热议问题