Build cross-platform desktop apps with JavaScript, HTML, and CSS | Electron With the power of modern Chromium, Electron gives you an unopinionated blank slate to build your app Choose to integrate your favourite libraries and frameworks from the front-end ecosystem, or carve your own path with bespoke HTML code
Introduction - Electron What is Electron? Electron is a framework for building desktop applications using JavaScript, HTML, and CSS By embedding Chromium and Node js into its binary, Electron allows you to maintain one JavaScript codebase and create cross-platform apps that work on Windows, macOS, and Linux — no native development experience required Getting started
为什么选择 Electron | Electron Electron 是一个框架,使开发者能够将 Web 技术(HTML、JavaScript、CSS)、Node js 及原生代码相结合,构建适用于 macOS、Windows 和 Linux 的跨平台桌面应用程序。 它基于MIT开源许可证,对商业和个人用途均免费。 在本文档中,我们将解释为何 Electron 备受公司和开发者青睐。
はじめに - Electron Electron は Chromium と Node js をバイナリに組み込むことで、単一の JavaScript コードベースを維持しつつ、ネイテイブ開発経験無しでも Windows、macOS、Linux で動作するクロスプラットフォームアプリを作成できます。
Building your First App - Electron In this part of the tutorial, you will learn how to set up your Electron project and write a minimal starter application By the end of this section, you should be able to run a working Electron app in development mode from your terminal Setting up your project
官方指南 - Electron 请确认你所使用的文档与你的 Electron 版本匹配。 版本号应该是页面URL的一部分。 如果没有,则你可能正在使用开发版本分支里的文档,这个分支可能包含了一些与你的 Electron 版本不兼容的 API 改动。
Electron 的博客 | Electron Electron 的早期版本在 Web File 对象中添加了非标准 path 属性作为在渲染器中执行所有操作更为常见时处理本机文件的便捷方法。 然而它偏离了标准,并且也带来了较小的安全风险,因此从 Electron 32 开始它已被移除,取而代之的是 webUtils getPathForFile 方法。
安装指导 - Electron 在安装过程中,electron 模块会通过 electron-download 为您的平台下载 Electron 的预编译二进制文件。 这将通过访问 GitHub 的发布下载页面来完成 ( https: github com electron electron releases tag v$VERSION , 这里的 $VERSION 是 Electron 的确切版本)
示例预览 - Electron 在本节中,我们收集了一些新手通用的功能示例,可以让你快速实现需要的 Electron 应用。 每个例子都包含一个简单的、自成一体的示例应用程序。 运行这些示例的最简单方法是下载 Electron Fiddle。