mirror of
https://github.com/twbs/bootstrap-sass.git
synced 2022-11-09 12:27:02 -05:00
readme: simpler copy command
This commit is contained in:
parent
a837e495f8
commit
4f8c346547
1 changed files with 1 additions and 3 deletions
|
@ -138,9 +138,7 @@ $navbar-default-color: $light-orange;
|
||||||
You can also import components explicitly. To start with a full list of modules copy this file from the gem:
|
You can also import components explicitly. To start with a full list of modules copy this file from the gem:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# copy and prepend "bootstrap/" to the @import paths:
|
cp $(bundle show bootstrap-sass)/vendor/assets/stylesheets/bootstrap.scss \
|
||||||
sed 's/@import "/@import "bootstrap\//' \
|
|
||||||
$(bundle show bootstrap-sass)/vendor/assets/stylesheets/bootstrap.scss > \
|
|
||||||
app/assets/stylesheets/bootstrap-custom.scss
|
app/assets/stylesheets/bootstrap-custom.scss
|
||||||
```
|
```
|
||||||
Comment out components you do not want from `bootstrap-custom`.
|
Comment out components you do not want from `bootstrap-custom`.
|
||||||
|
|
Loading…
Add table
Reference in a new issue