Rails app: requires loading bootstrap vs requiring bootstraps-stars

What is the consistent difference between adding

//= require bootstrap-sprockets 

and

 //= require bootstrap 

in application.js?

The documentation says:

bootstrap-sprockets provides separate Javascript Bootstrap files (e.g. alert.js or dropdown.js), while bootstrap provides a concatenated file containing all bootable javascripts

Does it offer better performance than another, or something else?

+6
source share
1 answer

Sometimes back I asked this question about what the stars in the rails mean . This led to two very good answers to tell me more about the light.

I am sure that by the time you go through the answers, you will get more understanding.

+1
source

All Articles