Answer the question
In order to leave comments, you need to log in
How to set gulp stylus url to specific prefix address?
Good afternoon, I would like to understand how, when writing code in a .styl file: background-image url("picture.jpg")
At the output, get:
background-image: url("path_to_images/picture.jpg");
$prefix = "path_to_images"
background-image url($prefix + "picture.jpg")
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question