
简介 | Electron
我们建议您从本 教程 开始,该教程将指导您完成开发 Electron 应用程序并将其分发给用户的过程。 示例 和 API 文档 也是浏览和发现新事物的好地方。
Build cross-platform desktop apps with JavaScript, HTML, and CSS …
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 …
Build Instructions - Electron
Electron's Build Tools automate much of the setup for compiling Electron from source with different configurations and build targets. If you wish to set up the environment manually, the …
Building your First App - Electron
This guide will step you through the process of creating a barebones Hello World app in Electron.
Introduction | Electron
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 …
Advanced Installation Instructions - Electron
To install prebuilt Electron binaries, use npm. The preferred method is to install Electron as a development dependency in your app:
BrowserWindow - Electron
The Electron API will only be available in the preload script and not the loaded page. This option should be used when loading potentially untrusted remote content to ensure the loaded …
Packaging Your Application - Electron
Electron applications need to be packaged to be distributed to users. In this tutorial, you imported your app into Electron Forge and configured it to package your app and generate installers.
Using Preload Scripts - Electron
This guide will step you through the process of creating a barebones Hello World app in Electron.
Application Packaging - Electron
To distribute your app with Electron, you need to package and rebrand it. To do this, you can either use specialized tooling or manual approaches.