33

In the download file of bootstrap, we found many files in JS folder. But I want to know that if we use bootstrap.bundle.min.js then is it necessary to use bootstrap.min.js?

SharpC
  • 6,974
  • 4
  • 45
  • 40
Shuvo3664
  • 791
  • 2
  • 8
  • 11

1 Answers1

34

Both are same but bundle has other js included in it like popper.js whereas, bootstrap.min.js only have the minimal js which is required to run the bootstrap.

You can use any one of them to start using bootstrap.

Khalid Khan
  • 3,017
  • 1
  • 11
  • 27
  • 1
    It is noteworthy that importing `popper.js` is necessary in order to run some Bootstrap component (like dropdown menus). See for instance https://getbootstrap.com/docs/5.2/getting-started/introduction/#js-components – logi-kal Mar 12 '23 at 12:52