-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
support templates #30
Labels
semver-minor
Issue or PR that should land as semver minor
Comments
Good idea! |
I'm an avid user of Hapi. I do not care for Hapi's template implementation. It's too rigid and does not promote streaming; even when set to // using Marko's `require` extension
const myTemplate = require('./path/to/template.marko')
const getRoute = {
path: '/',
method: 'GET',
handler (req, reply) {
return reply(myTemplate.stream())
}
} |
Closed
haggholm
pushed a commit
to haggholm/fastify
that referenced
this issue
Jun 12, 2021
update dependencies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Something like http://npm.im/vision, that provides plugin-specific views.
The text was updated successfully, but these errors were encountered: