bootstrap.min.js 和 bootstrap.bundle.min.js 有什么不同?

Shu*_*664 10 twitter-bootstrap bootstrap-4

在bootstrap的下载文件中,我们发现JS文件夹中有很多文件。但我想知道,如果我们使用,bootstrap.bundle.min.js那么是否有必要使用bootstrap.min.js

Kha*_*han 11

两者都是相同的,但 bundle 中还包含其他 js,popper.js而 bootstrap.min.js 只有运行引导程序所需的最少 js。

您可以使用其中任何一种来开始使用引导程序。