JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript. code example
Example: uncaught TypeError: Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript electron
<script>
window.jQuery = window.$ = require('jquery');
</script>