mirror of
https://github.com/electron-vite/electron-vite-vue
synced 2024-10-12 23:46:44 +08:00
blog | ||
screenshot | ||
script | ||
src | ||
typings | ||
.gitignore | ||
.npmrc | ||
note.md | ||
package.json | ||
README.md | ||
tsconfig.json | ||
vite.config.ts | ||
yarn.lock |
electron-vue-vite
Electron
+ Vue3
+ Vite2
integration
How and Why
Vite
is the scaffold of the future
Feature
Main process
hot restartPreload script
hot reloadRenderer 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