Scaffold new app

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

npm init vite-plugin-ssr@latest

You'll be able to use any package manager (npm, Yarn, pnpm, ...) once your app is scaffolded.

A prompt will let you choose between:

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

Options:

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