/vue3-admin-electron

🚀A new generation Cross-desktop electron framework ,It's easy and fast!

Primary LanguageVueOtherNOASSERTION

vue3-admin-electron

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

Update log

//02-15
update electron to 16.x
sync to vue-admin-plus@2.0.2 relase version

Online experience(Download the installation package, unzip and install the experience)

github address

address: https://pan.baidu.com/s/1UUWwh1Zx_C_c4pxL2m9zQA

password:4293

Demo

-- win

electron-win-demo

-- mac

electron-mac-demo

Related items

The framework is available in js, ts, plus and electron versions

development and experience:two words Really fragrant!!!!!

Documents

-- Efforts are being made to develop documents ......

Comparison of performance between vue3 and vue2

  • 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

Build Setup

# 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

# 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

Others

# code format check
yarn run lint

Extra

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! ! ! !

Browsers support

Note: Vue3 is not supported the Internet Explorer

Modern browsers and Internet Explorer 11+.

IE / Edge
IE / Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
Edge last 2 versions last 2 versions last 2 versions

Discussion and Communication

WeChat group

License

MIT license.

Copyright (c) 2021-present kuanghua