Answer the question
In order to leave comments, you need to log in
How to attach a file in Jade?
Hello everyone, I ran into a problem - there is a file with a code (like a page block) that I want to put in the main file with the entire page. For some reason, he does not want to accept, he swears. Tried extends and include.
On the structure - the main file where I want to put - _home.pug
What I want to put - components/_contact_form.pug
Tried like this
The file itself with the block -
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