المشاريع
عرض على GitHub
umbrella22/electron-vite-template
حول
قالب مشروع يعتمد على Vue 3 وVite وElectron، ومبني باستخدام Vite وRollup. يوفّر الوظائف نفسها التي يوفّرها مشروعي السابق المعتمد على Electron وVue وtemplate.
تطوير الويب والتطبيقاتالنمو المقاس للنجوم
- خلال 24 ساعة
- ٠
- خلال 7 أيام
- ٠
- خلال 15 يومًا
- ٠
- خلال شهر
- جارٍ جمع السجل
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصلelectron-vite-template
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 enablealigns the version via thepackageManagerfield)
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
- vue-router
- pinia
- element-plus
- electron-store
- electron-updater
- TypeScript 7
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
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…