Answer the question
In order to leave comments, you need to log in
How to load html template into js script using Gulp?
Hello.
Knowledgeable people, please tell me how to implement such functionality when building a project using Gulp:
Before building (arbitrary js-file)
...
var template = require("template.html");
...
...
var template = "<p>Some information</p>"; // разметка из template.html
...
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