Skip to content
Projects

electron-vite/electron-vite-vue has 4,893 GitHub stars and 631 forks. GitHot measured 0 in 7 days. Last checked 2026-11-11 17:02 UTC. Last push 2026-09-01.

How these counts are measured

🥳 Really simple Electron + Vite + Vue boilerplate.

Measured star growth

in 24h
Update delayed
in 7 days
0
in 15 days
Update delayed
in 1 month
Update delayed

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

electron-vite-vue

🥳 Really simple Electron + Vue + Vite boilerplate.

GitHub Build GitHub Discord

Features

📦 Out of the box 🎯 Based on the official template-vue-ts, less invasive 🌱 Extensible, really simple directory structure 💪 Support using Node.js API in Electron-Renderer 🔩 Support C/C++ native addons 🖥 It's easy to implement multiple windows

Quick Setup

# clone the project
git clone https://github.com/electron-vite/electron-vite-vue.git

# enter the project directory
cd electron-vite-vue

# install dependency
npm install

# develop
npm run dev

Debug

electron-vite-react-debug.gif

Directory

+ ├─┬ electron
+ │ ├─┬ main
+ │ │ └── index.ts    entry of Electron-Main
+ │ └─┬ preload
+ │   └── index.ts    entry of Preload-Scripts
  ├─┬ src
  │ └── main.ts       entry of Electron-Renderer
  ├── index.html
  ├── package.json
  └── vite.config.ts

Security Note

The renderer: {} preset in vite.config.ts is only a Vite adapter that polyfills Electron, Node.js APIs and native modules for the renderer process. It is not the same as enabling Node integration. If you want direct Node.js access in the renderer, enable nodeIntegration in the BrowserWindow webPreferences in the main process and review the security impact carefully.

FAQ

Explore related projects