Answer the question
In order to leave comments, you need to log in
How to set sass syntax for compass-rails?
gemfile:
gem 'sass-rails'
gem 'compass-rails', github: 'Compass/compass-rails'
config.sass.preferred_syntax = :sass
@import 'compass'
@import 'compass/utilities/sprites'
@import "icons/*.png"
Answer the question
In order to leave comments, you need to log in
By the way@import "compass/reset"
the way , it works without errors and the reset code gets into css
. In general, the answer was that there was a space in the icon file name. Now everything works with the code above.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question