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

java - unable show chart in xls document using jasper reports -

java.lang.RuntimeException: Could not generate dummy secret at sun.security.ssl.RSAClientKeyExchange.<init> -

javascript - How to change image src on success AJAX -