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

HTTPS

In production, Vite + vite-plugin-ssr is only a server middleware; there is nothing special to take into consideration.

If we want to use HTTPS in dev as well, then we need to pass the HTTPS certificates to Vite's dev server. For example: