A simple, fast, and feature-rich JS cross-platform desktop software development framework.
- 🏆 Code Cloud's most valuable open source project
- Address: https://gitee.com/wallace5303/electron-egg
characteristic
- 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 front-end technologies such as 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
- See the documentation for more functions
This update
- Add chrome extension (emphasis)
- Increase web (html) content embedding
- Add multiple windows to open
- Add desktop notification
- Increase power monitoring
- Increase access to display information
- Increase system theme settings
- Modify function classification
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) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。