B
B
Bauss2016-12-10 21:30:04
HTML
Bauss, 2016-12-10 21:30:04

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

2 answer(s)
O
Oleg, 2016-12-10
@werty1001

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.

K
Konstantin Velichko, 2017-01-09
@Zoxon

This is how I do it https://github.com/zoxon/gulp-front

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question