vite-electron-app is a CLI tool (v1.4.0) for scaffolding Electron + Vite + React + TypeScript desktop applications. It generates a minimalistic, secure-by-default project structure with hot reload, Electron Builder packaging, Vitest testing, and organized separation of concerns. The tool uses npx for instant scaffolding without global install and is idempotent, allowing multiple runs without duplication. Active development with regular releases on npm. Differentiators include native TypeScript, React with Vite, and built-in security against dangerous files.
npm install vite-electron-appVerified import paths — ran on the pinned version, not inferred.
Scaffold, install dependencies, and start development server for a new Electron + Vite + React app.
Use Node.js 18+ and install pnpm via 'npm install -g pnpm'.
Use npx instead of global install.
If upgrading from older versions, migrate packaging setup to Electron Builder.
Ensure you have backups or use a fresh directory name.
Run 'npx vite-electron-app' from a clean project directory after installing dependencies with pnpm.
Install Node.js (version 18+) via https://nodejs.org or nvm.
Install pnpm globally by running 'npm install -g pnpm'.