Merge pull request #947 from BobRazoswki/master
README: Change require syntax in RoR section
This commit is contained in:
Коммит
f1d9a24118
|
@ -44,9 +44,9 @@ it may come with a `.css` file instead. If this file exists, it will be served i
|
|||
$ mv app/assets/stylesheets/application.css app/assets/stylesheets/application.scss
|
||||
```
|
||||
|
||||
Then, remove all the `//= require` and `//= require_tree` statements from the file. Instead, use `@import` to import Sass files.
|
||||
Then, remove all the `*= require_self` and `*= require_tree .` statements from the sass file. Instead, use `@import` to import Sass files.
|
||||
|
||||
Do not use `//= require` in Sass or your other stylesheets will not be [able to access][antirequire] the Bootstrap mixins or variables.
|
||||
Do not use `*= require` in Sass or your other stylesheets will not be [able to access][antirequire] the Bootstrap mixins or variables.
|
||||
|
||||
Require Bootstrap Javascripts in `app/assets/javascripts/application.js`:
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче