I use the following at the bottom of my footer:
<script src="<?=$view->getThemePath()?>/js/popper.min.js"></script>
<script src="<?=$view->getThemePath()?>/js/bootstrap.min.js"></script>
But I noticed when I’m in edit mode the side panel dropdowns don’t work (so I can’t select containers for example) unless I remove the bootstrap.min.js line. Well, I need it on the frontend so I’m not sure what to do.