
Electron Has a Free Desktop App Framework — Build Cross-Platform Apps with JavaScript
Electron powers VS Code, Slack, Discord, and thousands of desktop apps. Build cross-platform applications with the web technologies you already know. Why Electron Native development: learn Swift for Mac, C# for Windows, GTK for Linux. Three codebases. Electron: one JavaScript codebase. Works on Windows, macOS, and Linux. What You Get for Free Chromium + Node.js: Chromium renders your UI (any web framework works) Node.js gives you file system, networking, OS integration IPC bridge connects the two Cross-platform: one codebase compiles to .exe, .dmg, and .deb Auto-updater: built-in update mechanism Native menus: OS-native menu bars and context menus System tray: tray icons with custom menus Notifications: OS native notifications Crash reporting: built-in crash reporter Quick Start mkdir my-app && cd my-app npm init -y npm i electron --save-dev // main.js const { app , BrowserWindow } = require ( ' electron ' ); app . whenReady (). then (() => { const win = new BrowserWindow ({ width : 12
Continue reading on Dev.to Webdev
Opens in a new tab




