Answer the question
In order to leave comments, you need to log in
How to import compass mixins on gulp-sass?
compass is installed on the command line, everything you need is installed (I'm talking about libraries)
the gulp-sass plugin does not want to import compass
Writes from such errors: File to import not found or unreadable: compass/css3
In these different mixin files, adding sprites to them other
--------
Dmitrijs Balcers "compass/css3";
Dmitrijs Balcers "mixins";
Dmitrijs Balcers "animations";
Dmitrijs Balcers "keyframes";
Dmitrijs Balcers "media";
Dmitrijs Balcers "ceaser-easing/ceaser";
Dmitrijs Balcers "sprites";
------------
How to make everything work? Or can't they be imported?
Thank you very much in advance!
Answer the question
In order to leave comments, you need to log in
Your sass doesn't know the path to compass.
To do this, in the task, you need to tell him the location
.pipe(sass({
includePaths: [
'node_modules/compass-mixins/lib/' // здесь ваш путь
]
})
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question