You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.markdown
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,14 @@ properties that will be passed to Sass.
21
21
config.sass.syntax = :nested
22
22
end
23
23
24
+
### Important Note
25
+
26
+
Sprockets provides some directives that are placed inside of comments called `require`, `require_tree`, and
27
+
`require_self`. **DO NOT USE THEM IN YOUR SASS/SCSS FILES.** They are very primitive and
28
+
do not work well with Sass files. Instead, use Sass's native `@import`
29
+
directive which `sass-rails` has customized to integrate with the
30
+
conventions of your rails projects.
31
+
24
32
### Options
25
33
26
34
The [list of supported options](http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html#options) can be found on the Sass Website with the following caveats:
@@ -67,4 +75,4 @@ The [list of supported options](http://sass-lang.com/docs/yardoc/file.SASS_REFER
67
75
$ bundle install
68
76
$ bundle exec rake test
69
77
70
-
If you need to test against local gems, use Bundler's gem :path option in the Gemfile and also edit `test/support/test_helper.rb` and tell the tests where the gem is checked out.
78
+
If you need to test against local gems, use Bundler's gem :path option in the Gemfile and also edit `test/support/test_helper.rb` and tell the tests where the gem is checked out.
0 commit comments