2022-05-09 16:03:40 +08:00
2022-04-20 00:18:29 +08:00
2022-04-28 07:49:47 +08:00
2022-04-15 07:35:54 +08:00
2022-03-15 08:33:47 +08:00
2022-01-27 11:29:53 +08:00
2022-02-18 00:23:52 +08:00
2022-04-12 09:20:42 +08:00
2021-11-04 14:26:18 +08:00
2022-05-09 16:03:40 +08:00
2022-04-28 07:50:04 +08:00
2022-04-26 09:19:55 +08:00
2022-01-17 18:11:08 +08:00
2022-02-08 11:13:34 +08:00

electron-vite-vue

awesome-vite Netlify Status GitHub license GitHub stars GitHub forks

English | 简体中文

🥳 Real simple Electron + Vue + Vite boilerplate.

Overview

📦 Out of the box
💪 Support C/C++ addons
🔩 Support Use Electron、Node.js API in Renderer-process
🌱 Simple directory structurereal flexible
🖥 It's easy to implement multiple windows

Quick Start

npm create electron-vite

electron-vite-vue.gif

Debug

electron-vite-react-debug.gif

Directory

A dist folder will be generated everytime when dev or build command is executed. File structure of dist is identical to the packages directory to avoid any potential path calculation errors.

├── dist                      Will be generated following the structure of "packages" directory
|   ├── main
|   ├── preload
|   └── renderer
|
├── scripts
|   ├── build.mjs             Build script -> npm run build
|   └── watch.mjs             Develop script -> npm run dev
|
├── packages
|   ├── main                  Main-process source code
|   |   └── vite.config.ts
|   ├── preload               Preload-script source code
|   |   └── vite.config.ts
|   └── renderer              Renderer-process source code
|       └── vite.config.ts

List the modules you may use as far as possible

Used in Main-process 👉 electron-vite-boilerplate

Used in Renderer-process 👉 electron-vite-boilerplate/tree/nodeIntegration

ES Modules

Native Addons(C/C++)

Description
No description provided
Readme MIT 22 MiB
Languages
TypeScript 72.7%
Vue 13.7%
CSS 10.3%
HTML 3.3%