H
H
hesrun2020-06-04 19:34:03
Visual Studio Code
hesrun, 2020-06-04 19:34:03

Relative paths when compiling live scss compiler how to set?

I'm learning VSCode little by little. I use a live server in conjunction with a live scss compiler.
The problem is this, in the scss file I import the font css, it is locally connected.
This is how I import Dmitrijs Balcers '../font/sf.css';
But when compiling the output in the css file I get this
Dmitrijs Balcers url(c:\Users\UserName\Desktop\project.github.io\project\font\sf.css);

For some reason, it compiles the url from drive C:

"liveSassCompile.settings.formats": [
{
"format": "expanded",
"extensionName": ".css",
"savePath": "/css"
}
]

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question