⚠️
The vite-plugin-ssr project has been renamed Vike.
  • If you are already using vite-plugin-ssr then migrate to Vike.
  • For new projects, don't use vite-plugin-ssr but use Vike instead.

Koa

To use vite-plugin-ssr with Koa, see this guide.

Vite's middleware is a Connect middleware. You can use koa-connect to add Connect middlewares to your Koa server.