Answer the question
In order to leave comments, you need to log in
Why doesn't the layout change when I edit the code in the PUG html template engine?
We were given a test task to make layout according to one layout.
It was necessary to download the folder with the original project, install gulp, and write the command in the project folder.
And Igulp watch
get this page in the browser
:
extends includes/layout/layout.pug
block content
p Тут пишеться HTML!
html(lang="ru")
head
meta(charset="utf-8")
title= "Учимся работать с шаблонизатором Pug"
body
h1 Hello, World!
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