{ const..."> { const...">

YouTip LogoYouTip

Electron Tutorial - Getting Started

Electron

Build cross-platform desktop apps with JavaScript, HTML, and CSS.

const { app, BrowserWindow } = require("electron");

app.whenReady().then(() => {
    const win = new BrowserWindow({width: 800, height: 600});
    win.loadFile("index.html");
});

Summary

  • Electron powers VS Code, Slack, Discord
  • Combines Chromium and Node.js
← Next.js Tutorial - Getting StaPlaywright Tutorial - Getting β†’