pug4j icon indicating copy to clipboard operation
pug4j copied to clipboard

Can't find style.css - file url missing forwardslash?

Open astubbs opened this issue 2 years ago • 0 comments

Using the code in my .pug: include style.css

I get the error:

the included file [style.css] could not be opened Users/antony/IdeaProjects/X/target/classes/style.css (No such file or directory)

You can see it's missing a leading forward slash, otherwise it would have worked.

If I use: include /Users/antony/IdeaProjects/X/target/classes/style.css

it works.

astubbs avatar Oct 31 '22 13:10 astubbs