Created
May 15, 2014 17:11
-
-
Save KenneyE/0d450a9c3c6ae7c1416e to your computer and use it in GitHub Desktop.
Setup steps for bootstrap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. gem ‘bootstrap-sass’ | |
2. mv assets/stylesheets/application.css assets/stylesheets/application.css.scss | |
3. in application.css.scss add @import “bootstrap”; | |
4. in application.js -> //= require bootstrap | |
5. in application.html.erb: | |
<%= stylesheet_link_tag 'application' %> | |
<%= javascript_include_tag 'application' %> | |
<%= csrf_meta_tags %> | |
6. Tweak variables in application.css.scss |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment