ericf / express-handlebars

A Handlebars view engine for Express which doesn't suck.
BSD 3-Clause "New" or "Revised" License
2.31k stars 384 forks source link

(Question) Is it possible to render to html file on the server #146

Open intensite opened 9 years ago

intensite commented 9 years ago

Is it possible to render a template using layouts to a HTML file on the server. The now "static" file would then be consumed by another system.

I looked around and found this question on stackoverflow with a possible solution but I am not sure how to make it work with express-handlebars.

If it is possible, can you provide some pointers on how to achieve this.

ricardograca commented 8 years ago

What's wrong with using Handlebars directly like that question proposes?