⚠️
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.

Page (server-side)

To define an HTML-only page, we export { Page } in .page.server.js instead of .page.js. See:

This also works for SFC components, e.g. .page.server.vue.