!Syntax Error: on line 3: expected one of @import *-@:.#
-
25-09-2019 - |
문제
I want to import some vars and mixings from a less file located under a subdirectory.
I´m using the following code:
@import "./subdirectory/file.less"
I have tried:
@import "subdirectory/file.less"
But the compiler shows the following error:
!Syntax Error: on line 3: expected one of @import *-@:.#
해결책
@import "/subdirectory/file.less";
You seem to be missing the semi-colon?
제휴하지 않습니다 StackOverflow