-
Why? Desktop software (office direction, personal tools) is still one of the PC end needs in the next decade or so to improve work efficiency -
Simple: Just understand JavaScript -
Vision: All developers can learn desktop software development
characteristic
-
Cross platform: a set of code, which can be packaged to run in Windows, Mac and Linux -
Simple and efficient: just learn the js language, and support front-end technologies such as vue, react, and html -
Independent front end: theoretically support any front end technology, and write beautiful UI effects -
Engineering: you can use the development thinking of the server to write desktop software -
High performance: Event driven, non blocking IO -
Rich functions: technical scenarios on the server -
Function demo: common functions of desktop software, which will be gradually integrated or provided later -
See the documentation for more functions
Use Scenarios
1. Conventional desktop software
-
-
Windows platform
-
-
MacOS platform -
Linux platform
2. Convert vue, react, angular and web to desktop software
-
Vue ant design (local) -
ZenTao Project management (web project address)
3. Games (h5 related technology development)
-
Ninja Level 100
Getting Started
-
download # gitee git clone https://gitee.com/wallace5303/electron-egg.git # github git clone https://github.com/wallace5303/electron-egg.git -
Installation, node recommended v14.16.0 #Increase installation speed and use domestic images; npm config set registry https://registry.npmmirror.com #Enter the directory/ electron-egg/ npm install -
Common commands #Developer Mode #1: [Enter the front directory], start vue cd frontend && npm install && npm run serve #2: [Root Directory], start the backend service cd ../ && npm run dev #Pre release mode (environment variable: prod) npm run start #Package windows version Npm run build-w (32-bit) Npm run build-w-64 (64 bit) #Package mac version npm run build-m Npm run build-m-arm64 (Apple M1 chip architecture) #Package linux version npm run build-l
Address: