Bootstrap 4 - “完整的 JavaScript"vs “完整的 JavaScript 包" [英] Bootstrap 4 - "Complete JavaScript" vs "Complete JavaScript Bundle"

查看:15
本文介绍了Bootstrap 4 - “完整的 JavaScript"vs “完整的 JavaScript 包"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我错过了什么?这些示例使用 min.js.bundle.min.js 有更多代码,但我找不到那个额外代码的描述......

What am I missing? The examples use min.js. The bundle.min.js has more code, but I can't find a description of that extra code...

https://getbootstrap.com/docs/4.0/getting-started/download/

Code:

https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js vs https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.bundle.min.js

解决方案

As shown in the docs, the "bundle" includes popper.js for you, the other does not.

这篇关于Bootstrap 4 - “完整的 JavaScript"vs “完整的 JavaScript 包"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆