⚠️
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 (client-side)

To define an SPA page, we export { Page } in .page.client.js instead of .page.js. See:

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