bootstraps javascript requires jquery 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>
<script>
window.jQuery = window.$ = require('jquery');
</script>