mirror of
https://github.com/twbs/bootstrap-sass.git
synced 2022-11-09 12:27:02 -05:00
Move Rails 4 section after Rails section
To avoid confusion.
This commit is contained in:
parent
211da253e8
commit
62d239b9c0
1 changed files with 6 additions and 6 deletions
12
README.md
12
README.md
|
@ -8,12 +8,6 @@ Enjoy.
|
|||
|
||||
## Usage
|
||||
|
||||
### Rails 4
|
||||
|
||||
Due to a change in Rails that prevents images from being compiled in vendor and lib, you'll need to add the following line to your application.rb:
|
||||
|
||||
config.assets.precompile += %w(*.png *.jpg *.jpeg *.gif)
|
||||
|
||||
### Rails
|
||||
|
||||
In your Gemfile:
|
||||
|
@ -25,6 +19,12 @@ gem 'bootstrap-sass', '~> 2.3.1.0'
|
|||
|
||||
`bundle install` and restart your server to make the files available.
|
||||
|
||||
### Rails 4
|
||||
|
||||
Due to a change in Rails that prevents images from being compiled in vendor and lib, you'll need to add the following line to your application.rb:
|
||||
|
||||
config.assets.precompile += %w(*.png *.jpg *.jpeg *.gif)
|
||||
|
||||
#### CSS
|
||||
|
||||
Import "bootstrap" in your SCSS file of choice to get all of Bootstrap's styles, mixins and variables! We recommend against using `//= require` directives, since none of your other stylesheets will be [able to use](https://github.com/thomas-mcdonald/bootstrap-sass/issues/79#issuecomment-4428595) the awesome mixins that Bootstrap has defined.
|
||||
|
|
Loading…
Reference in a new issue