Answer the question
In order to leave comments, you need to log in
What is the easiest way to implement html include?
Greetings, I need the ability to include pieces of code from one file to another without using a template engine or using some kind of html-allowing syntax. Maybe use post-processing? I used to use jade, but here the project does not allow this
Answer the question
In order to leave comments, you need to log in
gulp-rigger
The insertion itself happens like this//= template/header.html
includeHTML - can load parts of HTML markup either via an HTML tag or as a function. Asynchronously, synchronously, call-back support, correct recursive loading of all nested parts.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question