A simple, fast, and feature-rich cross-platform desktop software development framework.
- 🏆 Code Cloud's most valuable open source project
- Address: https://gitee.com/wallace5303/electron-egg
characteristic
- Many friends ask if it can be commercialized? Software developed based on this framework can be used commercially.
- Cross-platform: a set of code, which can be packaged into windows version, Mac version, Linux version or run on web site
- Simple and efficient: support vue, react, ejs, etc.
- Engineering: You can use server-side development thinking to write desktop software
- High performance: multiple work processes can be started
- Rich functions: all technical scenarios on the server side can be used, such as routing, middleware, controllers, services, timing tasks, queues, plug-ins, etc.
- Function demo: common functions of desktop software, follow-up to gradually integrate and improve or provide demo
- Auto update
- See the documentation for more functions
This update
- View style refactoring
- demo add category
- Optimized demo interface, re-typesetting
- Add select folder directory
- Increase ipc communication module and apis module syntax unification
- Increase routing classification
- Increase ipc to support long communication, the server continues to send messages to the page
- Increase the operating system pop-up demo
- Remove non-essential code
- Fix the stretch window blank
scenes to be used
1. Regular Desktop Software
demo
2. Game (h5 related technology development)
Ninja 100 layers
3. Turn any website into desktop software
Youtube
discuz-q forum
4. Web Project
Website Assistant: http://b.kaka996.com/
start using
download
# gitee git clone https://gitee.com/wallace5303/electron-egg.git # github git clone https://github.com/wallace5303/electron-egg.git
Install
# 提升安装速度,使用国内镜像; npm config set registry https://registry.npm.taobao.org # 进入目录 ./electron-egg/ npm install
Common commands
# 开发者模式 # 1:【进入前端目录】,启动vue cd frontend && npm install && npm run serve # 2:【根目录】,启动后端服务 cd ../ && npm run dev # 预发布模式(环境变量为:prod) npm run start # 打包-windows版本 npm run build-w (32位) npm run build-w-64 (64位) # 打包-mac版本 npm run build-m npm run build-m-arm64 (苹果M1芯片架构) # 打包-linux版本 npm run build-l # web运行-开发模式 npm run web-dev # web运行-生产者模式-启动 npm run web-start # web运行-生产者模式-停止 npm run web-stop
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。