Bootstrap 4 - “Complete JavaScript” vs “Complete JavaScript Bundle”

懵懂的女人 提交于 2020-04-29 06:48:19

问题


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


回答1:


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



来源:https://stackoverflow.com/questions/48713215/bootstrap-4-complete-javascript-vs-complete-javascript-bundle

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!