Skip to content
프로젝트

umbrella22/electron-vite-template

GitHub에서 보기

소개

Vite와 Rollup으로 구성된 Vue 3, Vite, Electron 프로젝트 템플릿입니다. 이전 Electron + Vue 템플릿 프로젝트와 같은 기능을 제공합니다.

웹 및 앱 개발

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

electron-vite-template

GitHub Repo stars electron vue node pnpm license Build TEST

A pnpm monorepo Electron + Vue 3 desktop application template — domain-grouped typed IPC, contextBridge security model, and optional V8 bytecode protection, all out of the box.

Documentation

📘 Documentation (Chinese only)

The docs cover everything: getting started, the IPC contract system, the security model, build & packaging, hot update, bytecode protection, and CI workflows.

Requirements

  • Node.js ≥ 24 — build scripts run on Node's native TypeScript support
  • pnpm — the only package manager used (corepack enable aligns the version via the packageManager field)

Build Setup

# Clone this repository
$ git clone https://github.com/umbrella22/electron-vite-template.git
# Go into the repository
$ cd electron-vite-template
# Install dependencies
$ pnpm install

# Start development (hot reload at localhost:9080)
$ pnpm dev

# Build and package for the current platform
$ pnpm run build

# Build without generating an installer (fast packaging check)
$ pnpm run build:dir

Feature list

  • Typed domain-grouped IPC (app:openWin, browser:selectTab, ...) with compile-time safety
  • contextIsolation + sandbox security model with a whitelisted preload bridge
  • Auto update (electron-updater)
  • Incremental hot update (renderer + main process content)
  • Optional main-process bytecode protection (opt-in, zero toolchain)
  • vp run cached build pipeline & 3-platform CI workflows
  • i18n

Built-in

Note

  • gitee is only for domestic users to pull code; it is synced from GitHub — please visit GitHub for PRs
  • Welcome to Issues and PR

관련 프로젝트 살펴보기

불러오는 중…