Problem with @import
-
Hi there,
I’ve been having this issue when importing another less file. It seems when the target file has been imported previously in another file, it won’t be imported into this file.
To give some context…
I havemain.less,_desktop.less,_mobile.less,iefix.less. The desktop and mobile styles are meant to be imported inmain.lessinside media queries. And in order to cater for IE, I haveiefix.lessenqueued aftermain.lesswhere I import desktop styles again to fill in the gap when old IE ignores media queries.However the
_desktop.lessis completely ignored in the iefix outcome. When I tried to enqueue iefix before main style, it happened in the latter.Can someone help please? Thanks!
The topic ‘Problem with @import’ is closed to new replies.