30 lines
1.9 KiB
Markdown
30 lines
1.9 KiB
Markdown
|
---
|
|||
|
title: Electron
|
|||
|
localeTitle: 电子
|
|||
|
---
|
|||
|
## Electron - 使用JavaScript,HTML和CSS构建跨平台桌面应用程序
|
|||
|
|
|||
|
Electron允许您使用Web技术构建跨平台桌面应用程序。您 可以为Windows,Mac和最常见的Linux版本构建桌面应用程序。
|
|||
|
|
|||
|
Electron基于Chromium(谷歌浏览器的开源版本)。您 使用HTML,JavaScript和CSS等Web技术构建Electron应用程序。那 意味着您可以使用大多数想要构建本机桌面应用程序的Web技术。例如,您可以使用[React](https://medium.freecodecamp.org/building-an-electron-application-with-create-react-app-97945861647c)或[Angular](https://scotch.io/tutorials/creating-desktop-applications-with-angularjs-and-github-electron)来构建您的第一个桌面应用程序。
|
|||
|
|
|||
|
此外,Electron还支持自动更新,崩溃报告, 和原生菜单。
|
|||
|
|
|||
|
可以使用[Electron API演示](https://github.com/electron/electron-api-demos)探索核心功能
|
|||
|
|
|||
|
使用Electron构建的一些应用包括:
|
|||
|
|
|||
|
* [Atom](https://atom.io/) (GitHub的开源文本编辑器)
|
|||
|
* [Visual Studio Code](https://code.visualstudio.com) (微软的开源文本编辑器)
|
|||
|
* [Skype](https://www.skype.com/) (微软流行的视频聊天应用程序)
|
|||
|
* [Slack](https://slack.com/) (团队的消息传递应用程序)
|
|||
|
* [Discord](https://discordapp.com) (适合游戏玩家的流行消息应用)
|
|||
|
* [Github Desktop](https://desktop.github.com/) (官方Github桌面客户端)
|
|||
|
|
|||
|
### 其他信息参考
|
|||
|
|
|||
|
* [官方网站](https://electronjs.org/)
|
|||
|
* [视频 - 什么是电子](https://www.youtube.com/watch?v=8YP_nOCO-4Q&feature=youtu.be)
|
|||
|
* \[Electron and Vue\]:https://medium.com/@kswanie21/electron-vue-js-f6c40abeb625
|
|||
|
* \[Electron and React\]:https://medium.freecodecamp.org/building-an-electron-application-with-create-react-app-97945861647c
|
|||
|
* \[电子和角度\]:https://scotch.io/tutorials/creating-desktop-applications-with-angularjs-and-github-electron
|