2022-04-12 09:20:42 +08:00
2022-03-28 00:59:26 +08:00
2022-03-15 08:35:11 +08:00
2022-03-15 08:34:36 +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-04-08 09:22:23 +08:00
2022-04-03 12:59:08 +08:00
2022-01-17 18:11:08 +08:00
2022-02-08 11:13:34 +08:00

electron-vite-vue

awesome-vite GitHub license GitHub stars GitHub forks

English | 简体中文

🥳 Real simple Electron + Vue + Vite boilerplate.

Quick Start

quick-start

Overview

This is a Vite-integrated Electron template built with simplification in mind.

The repo contains only the most basic files, dependencies and functionalities to ensure flexibility for various scenarios.

You need a basic understanding of Electron and Vite to get started. But that's not mandatory - you can learn almost all the details by reading through the source code. Trust me, this repo is not that complex. 😋

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

Main window

请我喝杯下午茶 🥳

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