Fastify
Documentation about using Vike with Fastify.
💚This page is maintained by the community and may contain outdated information; PR welcome to update or improve it.
You can use Bati to scaffold a Vike app that uses Fastify.
Example
HTML Streaming
In general, we recommend using pageContext.httpResponse.pipe()
for integrating HTML streaming to your server, see HTML Streaming > Basics.
But Fastify doesn't seem to expose any writable stream (as far as we know). As a workaround, you can directly use Node.js's writable stream as shown here. If this workaround doesn't work out for you, you can fallback to pageContext.httpResponse.getReadableNodeStream()
.