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
The official way to install Popper.js is trough npm, Yarn or NuGet.
Use either one of the following commands :
npm i popper.js
yarn add popper.js
PM> Install-Package popper.js
Everything is described in the library readme.
Regarding the "downloads the zip", the zip clearly states that it contains the source code of the library.
Edit:
Starting from version 1.12.0
, Popper.js is available as Bower dependency.
This installation method is going to be supported only for the 1.x
version of Popper.js and will be removed in 2.x
.
You should migrate your dependencies management to a modern system like npm or Yarn, as Bower suggests as well.