What is npm plugin to build html?

Hi all.

Need npm plugin to build html from the fragments, with approximately the syntax:

<inclide src="/path/path/content.html">

or this:

<app-content></app-content>

And so after you build the plugin were put into a folder assembled html.

Saw a plugin for gulp but I'm not using gulp, and the like. I just need a plugin to build a single html file from fragments.
April 19th 20 at 12:11
3 answers
April 19th 20 at 12:13
Solution
It's time to start using gulp\webpack\grunt and to choose a convenient template engine, for example pug.
April 19th 20 at 12:15
Solution
<inclide src="/path/path/content.html">

c so - and- Gulp, Webpack
<app-content></app-content>
this rather Vue, React, Angular + Webpack :)
Oh, if only the Vue, React, Angular to use it would be happiness in its purest form)) - sim.Beer commented on April 19th 20 at 12:18
@sim.Beer, And who forbids? only hemorrhoids is added at times. SSR is the same
well, back must give not html ^) - maria_Kunde14 commented on April 19th 20 at 12:21
April 19th 20 at 12:17
Explore gulp or webpack. These great tools. If you can master them, then there will be no problems with the Assembly and you can build the projects without much fuss.

But with this:

<app-content></app-content>

Safely cope Vue.js or React, ie, JS frameworks. They also greatly simplify the routine work and improve the quality of the project.
webpack I know at the Assembly level js es6 to js make one of the bundles. There is it possible to configure an Assembly for multi-page html applications? To separately pass all the html and put the html in the collected folder? - sim.Beer commented on April 19th 20 at 12:20
@sim.Beer, it all depends on how you know the tool and how much you want to achieve success. - Enola.Morar56 commented on April 19th 20 at 12:23
@Enola.Morar56, Not every tool can perform something you want. Any tool is limited by itself. - sim.Beer commented on April 19th 20 at 12:26
@sim.Beer, well, I have indicated in my answer is not only one webpack. And for each task its tool, in this case, since you think so. - Enola.Morar56 commented on April 19th 20 at 12:29
https://stackoverflow.com/questions/42193689/is-th... - maria_Kunde14 commented on April 19th 20 at 12:32

Find more questions by tags npmHTML