Google News
logo
Popper.js - Interview Questions
How to install popper.js?
1. Package Manager
# With npm
npm i @popperjs/core

# With Yarn
yarn add @popperjs/core
2. CDN
<!-- Development version -->
<script src="https://unpkg.com/@popperjs/core@2/dist/umd/popper.js"></script>

<!-- Production version -->
<script src="https://unpkg.com/@popperjs/core@2"></script>
3. Direct Download?

Managing dependencies by "directly downloading" them and placing them into your source code is not recommended for a variety of reasons, including missing out on feat/fix updates easily. Please use a versioning management system like a CDN or npm/Yarn.
Advertisement