Bootstrap 3 with Rails 4

Refer the blog

http://www.erikminkel.com/2013/09/01/twitter-bootstrap-3-in-a-rails-4-application/
In the downloaded bootstrap archive you will see a ‘dist’ folder which will house the css, javascripts, and fonts folders we will want to copy to our Rails application vendor/assets/ directory.
bootstrap/dist/css/bootstrap.css and bootstrap/dist/css/bootstrap.min.css to vendor/assets/stylesheets
bootstrap/dist/js/bootstrap.js and bootstrap/dist/js/bootstrap.min.js to vendor/assets/javascripts
bootstrap/dist/fonts/* to vendor/assets/fonts/

Reference

1) http://stackoverflow.com/questions/18371318/installing-bootstrap-3-on-rails-app/18371521#18371521

http://www.klairvoyant.in/

Advertisements
This entry was posted in rails, ROR, ruby on rails, web development and tagged , , , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s