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

Scaffold new app

To scaffold a new Vite + vite-plugin-ssr app:

With npm:

npm init vite-plugin-ssr@latest

With pnpm:

pnpm create vite-plugin-ssr

With Yarn:

yarn create vite-plugin-ssr


  • --skip-git: don't initialize a new Git repository

A prompt will let you choose between:

  • react: React + JavaScript
  • react-ts: React + TypeScript
  • vue: Vue + JavaScript
  • vue-ts: Vue + TypeScript