-2
I’m making a simple app, but I’m getting all confused in accessing the folders. I want to call the about.css file inside the layout.njk file. The directories I’ve tried none of worked.
The structure of my folders are these:
layout file.njk
file about.njk
My file server.js:
I’m looking to access the localhost route.
What error gives you? You have tried to put the absolute path of the CSS file?
– Leo Letto
No error, just don’t click. I’ve tried the absolute path.
– Ruth Maria
It seems that in this case your CSS file is being loaded from another folder
– Marcos Bergamo
@Ruth Maria when posting the code Avoid putting in images this makes it difficult for those who will analyze your question.
– Edu Mendonça
Thanks for telling me, @Edu Mendonça. I didn’t know.
– Ruth Maria