Go to file
2021-10-25 20:18:36 +08:00
blog chore: UPDATE wx qrcode 2021-10-25 09:05:01 +08:00
screenshot chore: UPDRTE 2021-02-19 14:26:29 +08:00
script chore: Improve start time 2021-10-09 16:14:19 +08:00
src communication declare 2021-09-09 10:17:30 +08:00
typings communication declare 2021-09-09 10:17:30 +08:00
.env npm run dev:all :) 2020-08-16 20:42:52 +08:00
.gitignore chore: UPDATE 2021-05-30 07:50:29 +08:00
.npmrc chore: remove taobao electron_mirror 2021-07-04 18:00:36 +08:00
note.md chore: UPDATE 2021-05-30 08:24:29 +08:00
package.json chore(deps): add ws, @types/ws 2021-10-25 20:18:36 +08:00
README.md chore: UPDATE 2021-10-25 20:18:17 +08:00
tsconfig.json chore: UPDATE 2021-09-09 09:36:06 +08:00
vite.config.ts chore: UPDATE 2021-09-09 09:49:51 +08:00
yarn.lock chore(deps): add ws, @types/ws 2021-10-25 20:18:36 +08:00

electron-vue-vite

Electron + Vue3 + Vite2 integration

How and Why

  • Vite is the scaffold of the future

Feature

  • Main process hot restart
  • Preload script hot reload
  • Renderer process hot module replacement -- power by Vite

Command

  • npm run dev
  • npm run build

Communication

  • All NodeJs、Electron API invoke passed Preload script

Branchs

  • ant-design-vue
    • Use tsx
    • Integration ant-design-vue
  • element-plus 登录窗口、element-ui 这个可能很适合你 🚀
    • With multiple BrowserWindow
    • Integration element-plus

微信讨论


License

MIT License