Answer the question
In order to leave comments, you need to log in
How to solve the problem with image paths after @import Less?
There is a structure like this:
index.html
less /
index.less
libs /
common /
docs /
docs.html
less /
common.less
img /
some-image.png
Answer the question
In order to leave comments, you need to log in
We lessc
have the --relative-urls option for such cases.
I less.js
have a similar option relativeUrls
.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question