Answer the question
In order to leave comments, you need to log in
How to insert css file into stylus?
There is a style.style file
@import './styles/reset.styl';
@import './styles/grid.styl';
@import './scripts/vendor/fontawesome/css/font-awesome.min.css';
@import './styles/main.styl';
@import './scripts/vendor/fontawesome/css/font-awesome.min.css';
it will remain so and, accordingly, import connection is possible only at the beginning, but in the middle of the css file it will not work and font-awesome.min.css will not be connected. @import './scripts/vendor/fontawesome/css/font-awesome.min.css';
inserted css from a file, and did not remain an import?
Answer the question
In order to leave comments, you need to log in
Understood. When compiling, just specify 'include css': true
.pipe(stylus({
'include css': true
}))
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question