⚠️
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.
It follows the same philosophy: Vike itself (without extensions) is unopinionated and lets you integrate tools with architectural freedom.

onRenderHtml()

The render() hook of .page.server.js has been renamed to onRenderHtml() for the V1 design.

It's just a rename: the hook is equivalent and its documentation is the same as API > .page.server.js > render() hook.

The documentation will be moved to this page after the stable release of the V1 design.

See V1 Design Migration > Renamed Hooks.