问题
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