Alex . , "express-handlebars", "handlebars". , Express-Handlebars - Handlebars Express, . compile() Express-Handlebars, Handlebars () (html) , , .
In short: 1) I know that Express-Handlebars are Handlebars for Express. 2) I do not know how to use the compile () method only from express-handlebars, so I finished installing Handlebars (from npm) and used it on the server to create my html file (from the template) and saved it to disk. 3) Of course, I installed and used Express-Handlebars all over the world to serve my pages in my Express application; just install Handlebars to create my html (on the server) using the "compile ()" method and save the result to disk.
I hope this is clear. Thanks again...
source
share