01 / CONFIG
One source of truth
Keep Electron targets, renderer plugins, linting, tests, and task settings together in vite.config.ts.
A focused Electron toolchain that coordinates main, preload, and renderer from one typed Vite+ configuration.
$ vp run dev
VITE+ running task dev
✓ Electron ready in 684ms
GETTING STARTED
Scaffold a vanilla, React, or Vue project. The generator wires every Electron entry and Vite+ task for you.
Read the guide →npm create electron-vite-plus@alpha my-appcd my-app && vp installvp run dev↵01 / CONFIG
Keep Electron targets, renderer plugins, linting, tests, and task settings together in vite.config.ts.
02 / FEEDBACK
Main changes restart Electron. Preload changes refresh the bridge. Renderer changes stay on the fast HMR path.
03 / DEFAULTS
Node-oriented builds for privileged code, a familiar Vite pipeline for the web surface, and predictable output under out/.
04 / VITE+
Use one task runner from the first local edit to the production build.
THE ELECTRON-AWARE LAYER
electron-vite-plus adds the desktop lifecycle Vite+ needs without hiding the Vite APIs you already know.
Build Electron lifecycle code, keep native dependencies external, and restart only when the main bundle changes.
Compile the context bridge with safe defaults, then reload connected renderers when its contract changes.
Keep the full Vite plugin ecosystem, asset pipeline, framework integrations, and near-instant hot updates.
OPEN SOURCE · MIT LICENSE