⚠
vite-plugin-ssr has been renamed Vike, see migration guide.

onBeforePrerenderStart()

The prerender() hook has been renamed to onBeforePrerenderStart() for the V1 design.

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

The documentation will be moved here after the stable release of the V1 design.

See V1 Design Migration > Renamed Hooks.