Answer the question
In order to leave comments, you need to log in
How to include css files in less file?
You just need to include the old css files in the unifying file less. Why then if I do
@import "styles.css";
@import "styles2.css";
[email protected]:~/Code/smartcrowd/public$ gulp less
[07:05:31] Using gulpfile ~/Code/public/gulpfile.js
[07:05:31] Starting 'less'...
events.js:85
throw er; // Unhandled 'error' event
^
Error: Broken @import declaration of "\url(../../../css/font-awesome.css\" Broken @import declaration of "\url(../../../css/bootstrap.css\" Broken @import declaration of "\url(../../../css/style.css\" Broken @import declaration of "\url(../../../css/media_queries.css\"
Answer the question
In order to leave comments, you need to log in
try like this
@import "styles.less.css";
@import "styles2.less.css";
или так
@import (css) "styles.css";
@import (css) "styles2.css";
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question