Answer the question
In order to leave comments, you need to log in
Pug: what does this line do?
The pug documentation is frail. Can you elaborate on how this works:
// Compile the source code
const compiledFunction = pug.compileFile('template.pug');
Answer the question
In order to leave comments, you need to log in
const compiled Function = pug.compileFile('template.pug');
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question