mirror of
https://github.com/twbs/bootstrap-sass.git
synced 2022-11-09 12:27:02 -05:00
doc: compass install -r #229
This commit is contained in:
parent
409ad551d9
commit
19651584e8
2 changed files with 17 additions and 10 deletions
24
README.md
24
README.md
|
|
@ -96,21 +96,25 @@ bootstrap-sass is no longer compatible with Rails 3. The latest version of boots
|
|||
|
||||
### b. Compass without Rails
|
||||
|
||||
Install the gem
|
||||
```sh
|
||||
gem install bootstrap-sass
|
||||
Install the gem:
|
||||
|
||||
```console
|
||||
$ gem install bootstrap-sass
|
||||
```
|
||||
|
||||
If you have an existing Compass project:
|
||||
|
||||
```ruby
|
||||
# config.rb:
|
||||
require 'bootstrap-sass'
|
||||
```
|
||||
1. Require `bootstrap-sass` in `config.rb`:
|
||||
|
||||
```console
|
||||
$ bundle exec compass install bootstrap
|
||||
```
|
||||
```ruby
|
||||
require 'bootstrap-sass'
|
||||
```
|
||||
|
||||
2. Install Bootstrap with:
|
||||
|
||||
```console
|
||||
$ bundle exec compass install bootstrap -r bootstrap-sass
|
||||
```
|
||||
|
||||
If you are creating a new Compass project, you can generate it with bootstrap-sass support:
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,6 @@
|
|||
// Import Bootstrap Compass integration
|
||||
@import "bootstrap-compass"
|
||||
// Import custom Bootstrap variables
|
||||
@import "bootstrap-variables"
|
||||
// Import Bootstrap for Sass
|
||||
@import "bootstrap"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue