angularjs - bundle.js: Uncaught Error: Bootstrap's JavaScript requires jQuery -


i getting error after have called jquery file befre bootstrap.js. anyone, kindly suggest? working node , angularr , webpack.

my declerations goes this.

require('jquery/dist/jquery.min.js'); require('bootstrap/dist/css/bootstrap.css'); require('bootstrap/dist/js/bootstrap.js'); require('./content/common.css'); require('angular'); 

pls suggest cause here!

thanks,

may try loading jquery below :

window.$ = window.jquery = require('jquery/dist/jquery.js');

and then,

var bootstrap = require('bootstrap/dist/js/bootstrap.js');


Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -