网页 综合 更新时间 2026-11-13 21:52:51

Electron Fiddle | Electron

自动蜘蛛 www.electronjs.org 正文约 1731 字
Electron Fiddle lets you create and play with small Electron experiments. It greets you with a runnable quick start template — change a few things, choose the version of Electron you want to run it with, and play around.
Try Electron without installing any dependencies: Fiddle includes everything you'll need to explore the platform. It also includes examples for every API available in Electron, so if you want to quickly see what a BrowserWindow is or how the desktopCapturer works, Fiddle has got you covered.
If your experiment depends on third-party modules, you can search for any package available in the npm registry, with autocomplete and version selection powered by Algolia.
Fiddle is built on Microsoft's excellent Monaco Editor, the same editor powering VS Code. It also installs the type definitions for the currently selected version of Electron automatically, ensuring that you always have all Electron APIs only a few keystrokes away.
Fiddle can automatically turn your experiment into binaries you can share with your friends, coworkers, or grandparents. It does so thanks to Electron Forge, allowing you to package your fiddle as an app for Windows, macOS, or Linux.
Fiddle is not an IDE. However, it is an excellent starting point. Once your fiddle has grown up, export it as a project with or without Electron Forge. Then, use your favorite editor and take on the world!
Save your fiddle locally or as a GitHub Gist. Once uploaded to GitHub, anyone can try your fiddle out by just entering the Gist URL in the address bar.
Version 0.39.0, for every platform Electron supports.
The OpenJS Foundation | Terms of Use | Privacy Policy | Bylaws | Code of Conduct | Trademark Policy | Trademark List | Cookie Policy
访问原文 返回搜索 https://www.electronjs.org/fiddle
本页为82搜索生成的网页快照,内容来自站内索引;演示数据的原文链接仅作示例。