Closed 14113 closed 10 years ago
Using the sprockets //= require
directive is only advisable if you want to use Bootstrap without any sort of customization or overrides.
From http://guides.rubyonrails.org/asset_pipeline.html:
If you want to use multiple Sass files, you should generally use the Sass @import rule instead of these Sprockets directives. Using Sprockets directives all Sass files exist within their own scope, making variables or mixins only available within the document they were defined in.
So, I would disagree that //= require
is "faster and better for developing" in all cases.
I totally agree with @tough-griff
Closing this for now
It's not necessarily to add 'import' into application.css. We can use 'require'. It's faster and better for developing