Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Vue.js
  3. electron-vite-vue

electron-vite-vue

MITTypeScriptv28.0.0

A minimal boilerplate for building Electron apps with Vue and Vite, featuring a simple directory structure and Node.js integration.

Visit WebsiteGitHubGitHub
4.9k stars639 forks0 contributors

What is electron-vite-vue?

electron-vite-vue is a boilerplate project that provides a ready-to-use template for creating Electron desktop applications with Vue and Vite. It solves the problem of complex initial setup by offering a minimal, pre-configured structure that integrates modern web technologies for efficient development.

Target Audience

Developers building cross-platform desktop applications with Electron who prefer Vue as their frontend framework and want a fast, modern build tool like Vite.

Value Proposition

It stands out for its simplicity, extensibility, and seamless integration of Node.js APIs in the renderer process, reducing configuration time and providing a clean starting point for Electron projects.

Overview

🥳 Really simple Electron + Vite + Vue boilerplate.

Use Cases

Best For

  • Starting new Electron applications with Vue and TypeScript
  • Projects requiring Node.js integration in the Electron renderer
  • Developers needing support for C/C++ native addons
  • Building Electron apps with multiple windows
  • Teams seeking a minimal, opinionated boilerplate
  • Rapid prototyping of desktop applications with modern tooling

Not Ideal For

  • Projects using React or other non-Vue frontend frameworks
  • Large-scale applications requiring built-in state management, routing, and testing configurations
  • Teams prioritizing maximum security by avoiding Node.js integration in the renderer process
  • Developers needing extensive documentation or community support beyond basic setup

Pros & Cons

Pros

Quick Startup

Provides a pre-configured setup with minimal steps; just clone, install, and run dev as shown in the Quick Setup section, reducing initial overhead.

Vite Integration

Based on Vite's official Vue TypeScript template, ensuring modern tooling compatibility and fast development cycles with minimal invasiveness.

Node.js API Access

Enables direct use of Node.js APIs in the renderer process by default, simplifying desktop-specific functionality without extra configuration.

Native Addon Support

Supports C/C++ native addons out of the box, as noted in the features, useful for performance-intensive or legacy integration tasks.

Cons

Sparse Feature Set

Lacks pre-configured essentials like Vue Router or state management, requiring manual integration for full-featured applications, which adds setup time.

Configuration Complexity

Disabling default Node.js integration or customizing build settings requires editing Vite config files, as shown in the README diff, which can be error-prone for beginners.

Plugin Dependency

Relies on specific vite plugins from the electron-vite ecosystem; updates or issues here could break compatibility or require maintenance efforts.

Frequently Asked Questions

Quick Stats

Stars4,859
Forks639
Contributors0
Open Issues38
Last commit1 year ago
CreatedSince 2020

Tags

#desktop-app#boilerplate#vite#typescript#nodejs-integration#rollup#vue#multi-window#electron

Built With

V
Vite
T
TypeScript
V
Vue
N
Node.js
E
Electron

Links & Resources

Website

Included in

Vue.js73.6k
Auto-fetched 1 day ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub