Build cross-platform desktop apps with JavaScript, HTML, and CSS
Paglalabas
$ npm i -D electron@latest
# Electron 10.1.3
# Node 12.16.3
# Chromium 85.0.4183.121
$ npm i -D electron@beta
# Electron 11.0.0-beta.9
# Node 12.18.3
# Chromium 87.0.4251.1
$ npm i -D electron-nightly
# Electron 12.0.0-nightly.20200914
# Node 12.18.3
# Chromium 86.0.4234.0
Apps users love, built with Electron
Thousands of organizations spanning all industries use Electron to build cross-platform software.
Mas madali kaysa sa iyong tingin
Kung makakabuo ka ng website, makakabuo ka ng desktop na app. Ang electron na ito ay isang framework para lumikha ng native na aplikasyon sa web na mga teknolohiya gaya ng JavaScript, HTML, at CSS. Ito ay responsable sa mga mahirap na parte para maka pokus ka sa core ng iyong aplikasyon.
Mga teknolohiya ng web
Ang Electron ay gumagmit ng Chromium at Node.js para mabuo mo ang iyong app gamit ang HTML, CSS, at JavaScript.
Open Source
Ang Electron ay isang open source na proyektong pinananatili sa pamamagitan ng Github at mga aktibong komunidad ng mga kontributor.
Cross Platform
Katugma sa Mac na mga Window, at Linux, ang Electron na mga app ay binuo at pinatakbo sa tatlong mga plataporma.
Ang mga mahihirap na parte ay pinadali
Magsimula
Para makapagsimula sa Electron, tingnan ang resources sa ilalim. Alamin paano maibalot ang iyong web app sa Electron, ma-akses lahat ng mga API, at bumuo ng mga installer.
Galurin ang mga API ng Electron
Ang Mga Demo ng Electron API na appinteractive na ipapakita ang pinaka importante na mga tampok sa API na Electron. Tingnan ano ang posible sa Electron na may sampol code at makakatulog na mga tip para sa pagbuo ng iyong app.
Try more powerful experiments with Electron Fiddle
Electron Fiddle lets you create and play with small Electron experiments. It greets you with a quick-start template after opening – change a few things, choose the version of Electron you want to run it with, and play around. Then, save your Fiddle either as a GitHub Gist or to a local folder. Once pushed to GitHub, anyone can quickly try your Fiddle out by just entering it in the address bar.
ikotin ang Mabilisang Simulana app para makita ang Electron sa pagkilos:
Isang minimal sa app ng Electron na mayroong makakatulong na mga tip
# I-clone ang Mabilisang Simula na repository
$ git clone https://github.com/electron/electron-quick-start
# Magpunta sa repository
$ cd electron-quick-start
# Mag-install ng mga dependency at patakbuhin
$ npm install && npm start
O sumisid ng mas ilalim at basahin ang documentation.
Kailangan ng Tulong?
Ask questions in the info@electronjs.org.
Mga shortcut ng keyboard
| Key | Action | |
|---|---|---|
| / | Focus the search bar | |
| Esc | Focus the search bar and cleans it | |
| ↓ | Select the next search result | |
| ↑ | Select the previous search result | |
| Enter | Open the selected search result | |
| cmdEnter | Ctrl+Enter | Open the selected search result in a new tab |