Reputation: 5862
I have a project of Rails 4 integrated with bootstrap.
I use less-rails-bootstrap gem in order to integrate it.
I wonder what is the best way to integrate bootstrap into rails without using less (os sass). I assume I can simply download the css and js files as explained in the bootstrap site, but I wonder if i might have problems with it.
Upvotes: 0
Views: 265
Reputation: 4802
Yes, if you don't want to customize Bootstrap styles, you can simply download it from bootstrap site and put it under vendor
folder.
And you won't have problems, since Rails will precompile the files (js/css/img) under vendor
folder.
Make sure to read this answer if you add fonts too.
Upvotes: 1