Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: define ETA engine in Express walkaround #67

Merged
merged 1 commit into from
Mar 20, 2024

Conversation

enzoclock
Copy link
Contributor

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)

Copy link

vercel bot commented Mar 20, 2024

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
Copy link
Collaborator

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

@nebrelbug nebrelbug merged commit 7c9c0f1 into eta-dev:master Mar 20, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants