1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-19 03:41:19 +02:00

Docs: Use ESM Popper CDN reference in 'Using Boottrap as a module'

This commit is contained in:
Julien Déramond
2023-02-05 18:05:39 +01:00
committed by Mark Otto
parent 3e3938f036
commit 68afebe5b5
2 changed files with 2 additions and 1 deletions

View File

@@ -71,7 +71,7 @@ To fix this, you can use an `importmap` to resolve the arbitrary module names to
<script type="importmap">
{
"imports": {
"@popperjs/core": "{{< param "cdn.popper" >}}",
"@popperjs/core": "{{< param "cdn.popper_esm" >}}",
"bootstrap": "https://cdn.jsdelivr.net/npm/bootstrap@{{< param "current_version" >}}/dist/js/bootstrap.esm.min.js"
}
}