eta-dev / eta-docs

Documentation website for the Eta template engine
https://eta.js.org
7 stars 18 forks source link

docs: define ETA engine in Express walkaround #67

Closed enzoclock closed 8 months ago

enzoclock commented 8 months ago

As suggested here, this PR adds some documentation on how to import ETA as an Express view engine, so it's possible to use res.render(TEMPLATE, DATA) instead of eta.render() (thus importing the eta instance in each controller)

vercel[bot] commented 8 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
eta ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 20, 2024 10:23am
nebrelbug commented 8 months ago

@enzoclock this looks great! Thanks so much. I'll merge this right now.