javascript - Rails app: require bootstrap vs require bootstrap-sprockets -


what consequential difference between adding

//= require bootstrap-sprockets 

and

//= require bootstrap 

to application.js?

the documentation says:

bootstrap-sprockets provides individual bootstrap javascript files (alert.js or dropdown.js, example), while bootstrap provides concatenated file containing bootstrap javascripts

does 1 offer better performance on other, or something?

sometimes ago, asked this question sprockets means in rails. drew in 2 answers throw more light topic me.

i'm sure time go through answers, more understanding.


Comments

Popular posts from this blog

javascript - Slick Slider width recalculation -

jsf - PrimeFaces Datatable - What is f:facet actually doing? -

angular2 services - Angular 2 RC 4 Http post not firing -