English | 中文
This is a basic vue3 admin electron desktop platform. Contains the most basic electron development and construction steps and the use of demo, a set of codes can be packaged for win, mac, linux platform applications at the same time.
A new generation Cross-desktop framework using electron13+vue3(setup-script)+vite2+element-plus ,It's fast!
Use eslint+prettier+gitHooks format and verification code to improve code standardization and development efficiency
//12-25
update electron to 16.x
sync to vue-admin-plus@1.3.5
address: https://pan.baidu.com/s/1UUWwh1Zx_C_c4pxL2m9zQA
password:4293
The framework is available in js, ts, plus and electron versions
- electron version:[vue3-admin-electron](https://github.com/jzfai/vue3-admin-electron.git
- js version:vue3-element-admin
- ts version:vue3-element-ts
- js version for plus:vue3-element-plus
- react version: react-admin-template
- java Micro-service background data:micro-service-plus
development and experience:two words Really fragrant!!!!!
-- Efforts are being made to develop documents ......
-
41% reduction in package size
-
The initial rendering is 55% faster, the update rendering is 133% faster
-
Memory reduction 54%
-
Use Proxy instead of defineProperty to implement data responsiveness
-
Rewrite the implementation of virtual DOM and Tree-Shaking
Comparison of packaging speed between vite2 and webpack
# clone the project
git clone https://github.com/jzfai/vue3-admin-electron.git
# enter the project directory
cd vue3-admin-electron
# install dependency(Recommend use yarn)
yarn
# develop(Page hot load, electron related modules will not be hot loaded, if you need to load both of them, you can use "yarn run electron:nodemon" to start in nodemon mode)
yarn run electron:dev
# build for production environment
yarn run electron:build
> Note: The packaged exe is packaged with the windows system, and the packaged dmg is packaged with the mac system. Separate as much as possible
# code format check
yarn run lint
Architecture development is not easy. If you feel good, please give me a compliment. The architecture is still being improved. Welcome to join me in development and become Contributors together! ! ! !
Note: Vue3 is not supported the Internet Explorer
Modern browsers and Internet Explorer 11+.
IE / Edge |
Firefox |
Chrome |
Safari |
---|---|---|---|
Edge | last 2 versions | last 2 versions | last 2 versions |
MIT license.
Copyright (c) 2021-present kuanghua