mirror of
https://github.com/twbs/bootstrap-sass.git
synced 2022-11-09 12:27:02 -05:00
readme: bower section
This commit is contained in:
parent
109ec95e10
commit
303091a614
1 changed files with 9 additions and 5 deletions
14
README.md
14
README.md
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
Please see the appropriate guide for your environment of choice:
|
Please see the appropriate guide for your environment of choice:
|
||||||
|
|
||||||
### a. Rails
|
### a. Ruby on Rails
|
||||||
|
|
||||||
`bootstrap-sass` is easy to drop into Rails with the asset pipeline.
|
`bootstrap-sass` is easy to drop into Rails with the asset pipeline.
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@ gem 'bootstrap-sass', '~> 3.1.0'
|
||||||
|
|
||||||
`bundle install` and restart your server to make the files available through the pipeline.
|
`bundle install` and restart your server to make the files available through the pipeline.
|
||||||
|
|
||||||
### b. Compass (no Rails)
|
### b. Compass without Rails
|
||||||
|
|
||||||
Install the gem
|
Install the gem
|
||||||
```sh
|
```sh
|
||||||
|
@ -53,7 +53,7 @@ This will create a new Compass project with the following files in it:
|
||||||
Some bootstrap-sass mixins may conflict with the Compass ones.
|
Some bootstrap-sass mixins may conflict with the Compass ones.
|
||||||
If this happens, change the import order so that Compass mixins are loaded later.
|
If this happens, change the import order so that Compass mixins are loaded later.
|
||||||
|
|
||||||
### c. Sass-only (no Compass, nor Rails)
|
### c. Ruby without Compass / Rails
|
||||||
|
|
||||||
Require the gem, and load paths and Sass helpers will be configured automatically:
|
Require the gem, and load paths and Sass helpers will be configured automatically:
|
||||||
|
|
||||||
|
@ -61,13 +61,17 @@ Require the gem, and load paths and Sass helpers will be configured automaticall
|
||||||
require 'bootstrap-sass'
|
require 'bootstrap-sass'
|
||||||
```
|
```
|
||||||
|
|
||||||
Using bootstrap-sass as a Bower package is still being tested. You can install it with:
|
### d. Bower
|
||||||
|
|
||||||
|
Using bootstrap-sass as a Bower package is still being tested and requires libsass master. You can install it with:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
bower install git://github.com/twbs/bootstrap-sass.git
|
bower install git://github.com/twbs/bootstrap-sass.git
|
||||||
```
|
```
|
||||||
|
|
||||||
The files are located at [vendor/assets](/vendor/assets).
|
`bootstrap-sass` is taken so make sure you use the Git URL above.
|
||||||
|
|
||||||
|
Sass, JS, and all other assets are located at [vendor/assets](/vendor/assets).
|
||||||
|
|
||||||
#### JS and fonts
|
#### JS and fonts
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue