How do I make the bootstrap dropdown menu work?
Add dependency in libraries.yml file just below the bootstrap js file:

dependencies:
    - core/jquery
    - core/drupal.ajax
    - core/drupal
    - core/drupalSettings
    - core/jquery.once