🥳 Really simple Electron + Vite + Vue + ElementPlus desktop gui quick start template.
💖 Click on the underlined section above to view relevant technical documents
📦 Out of the box
🎯 Based on the official Circularorbit/electron-vite-vue-element-plus
🌱 Extensible, really simple directory structure
💪 Support using Node.js API in Electron-Renderer
🔩 Support C/C++ native addons
🖥 It's easy to implement multiple windows
# clone the project
git clone https://github.com/Circularorbit/evve-desktop-gui-template.git
# enter the project root directory
cd evve-desktop-gui-template
# (optional) check out .npmrc file mirror source settings for you
cat .npmrc
# install dependency
npm install
# develop
npm run dev
# build installer package
npm run builddefault includes two theme modes

+ ├─┬ electron
+ │ ├─┬ main
+ │ │ └── index.ts entry of electron-main
+ │ └─┬ preload
+ │ └── index.ts entry of preload-scripts
+ │
+ ├── release store application build results
+ │
+ ├─┬ src
+ │ ├── assets store static resource file, such custom light/dark theme and image file,
+ │ ├── components store independent and reusable components vue file
+ │ ├── router store router config file
+ │ ├── store store pinia config file
+ │ ├── views store custom develop views
+ │ ├── App.vue entry of vue application
+ │ ├── main.ts entry of Electron-Renderer
+ │ └── vite-env.d.ts entry of Preload-Scripts function statement
+ │
+ ├── index.html
+ ├── package.json
+ └── vite.config.tsvue-router is the official client-side routing solution for Vue.
pinia is a store library for Vue, it allows you to share a state across components/pages