Answer the question
In order to leave comments, you need to log in
Why is there an error when trying to generate a sprite through Compass in SASS?
When I try to generate sprites in compass for sass, I get an error:
TypeError: no implicit conversion of Array into String
What could be the problem?
I connect:
@import "compass/utilities/sprites";
@import "../sprite/*.png";
Answer the question
In order to leave comments, you need to log in
The path to the images must be relative to the directory specified in the images_dir of the configuration file.
If you have images_dir = "img" and the sprite folder is in the img folder, then you need to write@import "sprite/*.png";
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question