Answer the question
In order to leave comments, you need to log in
How do you compile pug?
First time trying pug for educational purposes, wondered how best to compile everything into one html file or separately? I don’t understand this moment how to organize everything, for example, if there are a lot of pages
Answer the question
In order to leave comments, you need to log in
I see three options:
- division into blocks (as in the BAM methodology)
- division into parts (for example, a header, footer, etc.)
- all in one (for example, when laying out
a landing) The choice is yours (team), I use 1 option, previously used 2.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question