electron-vite-vue/README.md

36 lines
938 B
Markdown
Raw Normal View History

2020-08-16 12:49:24 +08:00
# electron-vue-vite
2021-03-30 09:57:22 +08:00
`Electron` + `Vue3` + `Vite2` integration
2020-08-16 20:42:52 +08:00
## How and Why
2021-03-30 09:57:22 +08:00
- `Vite` is the scaffold of the future
2020-08-16 21:00:37 +08:00
2021-10-25 20:18:17 +08:00
## Feature
- `Main process` hot restart
- `Preload script` hot reload
- `Renderer process` hot module replacement -- power by Vite
2020-10-05 21:48:49 +08:00
## Command
2020-08-17 09:21:07 +08:00
- npm run dev
- npm run build
2020-08-16 21:00:37 +08:00
2021-09-09 10:01:48 +08:00
## Communication
2021-10-25 20:18:17 +08:00
- All NodeJs、Electron API invoke passed `Preload script`
2021-09-09 10:01:48 +08:00
## Branchs
- [ant-design-vue](https://github.com/caoxiemeihao/electron-vue-vite/tree/ant-design-vue)
* [x] Use tsx
2021-09-28 10:31:20 +08:00
* [x] Integration ant-design-vue
2021-10-09 16:51:31 +08:00
- [element-plus](https://github.com/caoxiemeihao/electron-vue-vite/tree/element-plus) `登录窗口、element-ui 这个可能很适合你` 🚀
2021-10-09 14:37:51 +08:00
* [x] With multiple BrowserWindow
* [x] Integration element-plus
2021-05-08 17:29:38 +08:00
2021-06-20 19:10:27 +08:00
## 微信讨论
2021-10-25 20:18:17 +08:00
<img width="244px" src="https://raw.githubusercontent.com/caoxiemeihao/electron-vue-vite/main/blog/wx/qrcode.jpg" />
2021-06-20 19:10:27 +08:00
---
2021-05-08 17:29:38 +08:00
## License
[MIT License](https://opensource.org/licenses/MIT)