|
|
пре 3 година | |
|---|---|---|
| .github | пре 3 година | |
| .vscode | пре 3 година | |
| build | пре 3 година | |
| packages | пре 3 година | |
| scripts | пре 3 година | |
| test | пре 3 година | |
| .gitignore | пре 3 година | |
| .prettierrc.js | пре 3 година | |
| .simple-git-hooks.cjs | пре 3 година | |
| Dockerfile | пре 3 година | |
| LICENSE | пре 3 година | |
| README.md | пре 3 година | |
| README.zh-CN.md | пре 3 година | |
| electron-builder.json | пре 3 година | |
| nano-staged.mjs | пре 3 година | |
| package.json | пре 3 година | |
| playwright.config.js | пре 3 година | |
| volar.config.js | пре 3 година | |
| yarn.lock | пре 3 година |
English | 简体中文
🥳 Real simple Electron + Vue + Vite boilerplate.
📦 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
npm create electron-vite
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
Used in Main-process 👉 electron-vite-boilerplate
Used in Renderer-process 👉 electron-vite-boilerplate/tree/nodeIntegration
ES Modules
Native Addons(C/C++)