mirror of
https://github.com/electron-vite/electron-vite-vue
synced 2025-01-19 11:56:36 +08:00
dependabot[bot]
fe370a0972
chore(deps-dev): bump @playwright/test from 1.21.1 to 1.22.2
Bumps [@playwright/test](https://github.com/Microsoft/playwright) from 1.21.1 to 1.22.2. - [Release notes](https://github.com/Microsoft/playwright/releases) - [Commits](https://github.com/Microsoft/playwright/compare/v1.21.1...v1.22.2) --- updated-dependencies: - dependency-name: "@playwright/test" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
electron-vite-vue
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 structure,real flexible
🖥 It's easy to implement multiple windows
Quick Start
npm create electron-vite
Debug
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++)
Languages
TypeScript
72.7%
Vue
13.7%
CSS
10.3%
HTML
3.3%