freeCodeCamp/guide/chinese/electron/index.md

33 lines
2.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

---
title: Electron
localeTitle: 电子
---
## Electron - 使用JavaScriptHTML和CSS构建跨平台桌面应用程序
Electron允许您使用Web技术构建跨平台桌面应用程序。您可以为WindowsMac和最常见的Linux版本构建桌面应用程序。
Electron基于Chromium谷歌浏览器的开源版本。Electron是在2013年7月15日从GitHub开发的构建。您使用HTMLJavaScript和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桌面客户端
您可以从[Electron的网页](https://electronjs.org/apps)查询更多使用Electron构建的应用。
### 其他信息参考
* [官方网站](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