Unverified Commit b316e38d authored by Mark Otto's avatar Mark Otto Committed by GitHub
Browse files

Clarify JS bundle docs one more time (#32105)


Co-authored-by: default avatarXhmikosR <xhmikosr@gmail.com>
parent df6eb933
Showing with 2 additions and 2 deletions
+2 -2
...@@ -28,7 +28,7 @@ Many of our components require the use of JavaScript to function. Specifically, ...@@ -28,7 +28,7 @@ Many of our components require the use of JavaScript to function. Specifically,
#### Bundle #### Bundle
Include everything you need in one script with our bundle. Our `bootstrap.bundle.js` and `bootstrap.bundle.min.js` include [Popper](https://popper.js.org/). For more information about what's included in Bootstrap, please see our [contents]({{< docsref "/getting-started/contents#precompiled-bootstrap" >}}) section. Include every Bootstrap JavaScript plugin and dependency with one of our two bundles. Both `bootstrap.bundle.js` and `bootstrap.bundle.min.js` include [Popper](https://popper.js.org/) for our tooltips and popovers. For more information about what's included in Bootstrap, please see our [contents]({{< docsref "/getting-started/contents#precompiled-bootstrap" >}}) section.
```html ```html
<script src="{{< param "cdn.js_bundle" >}}" integrity="{{< param "cdn.js_bundle_hash" >}}" crossorigin="anonymous"></script> <script src="{{< param "cdn.js_bundle" >}}" integrity="{{< param "cdn.js_bundle_hash" >}}" crossorigin="anonymous"></script>
...@@ -36,7 +36,7 @@ Include everything you need in one script with our bundle. Our `bootstrap.bundle ...@@ -36,7 +36,7 @@ Include everything you need in one script with our bundle. Our `bootstrap.bundle
#### Separate #### Separate
If you decide to go with the separate scripts solution, Popper.js must come first, and then our JavaScript plugins. If you decide to go with the separate scripts solution, Popper.js must come first (if you're using tooltips or popovers), and then our JavaScript plugins.
```html ```html
<script src="{{< param "cdn.popper" >}}" integrity="{{< param "cdn.popper_hash" >}}" crossorigin="anonymous"></script> <script src="{{< param "cdn.popper" >}}" integrity="{{< param "cdn.popper_hash" >}}" crossorigin="anonymous"></script>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment