electron quickstart guide

Solutions on MaxInterview for electron quickstart guide by the best coders in the world

showing results for - "electron quickstart guide"
Mats
22 Apr 2019
1const { app, BrowserWindow } = require('electron')
2
3function createWindow () {
4  const win = new BrowserWindow({
5    width: 800,
6    height: 600,
7    webPreferences: {
8      nodeIntegration: true
9    }
10  })
11
12  win.loadFile('index.html')
13  win.webContents.openDevTools()
14}
15
16app.whenReady().then(createWindow)
17
18app.on('window-all-closed', () => {
19  if (process.platform !== 'darwin') {
20    app.quit()
21  }
22})
23
24app.on('activate', () => {
25  if (BrowserWindow.getAllWindows().length === 0) {
26    createWindow()
27  }
28})
Simon
28 May 2019
1mkdir my-electron-app && cd my-electron-app
2npm init -y
3npm i --save-dev electron
4
queries leading to this page
electron js tutorialelectron index fileelectron js getting startedcreate electron app npmbase electron projectelectron frontend local file systemelectron js run in nodeelectron init commandshow to create electron js projectelectron quick startelectron getting startdgetting started with electronelectron app quickstartelectron starterelectron js how to startelectron hello appelectron main jsquick start guide electronthis is the first program in electorn jselectron app usage guidelearn electron jselectron quick start tutorialbuild my first electron appelectron runelectron app quick start templateelectron js quick starthow to start a new project in electron jsnode can start electronhow to get into electronmake electron appelectron tutorial quickstartelectron mainlearn javascript with electronelectron desktop app tutorialelectron file frameworkelectron getting startedhow to start with electronquick start electron jselectron js quickstarthow to initialize electroncreate electron app commandrun electron projectnpm start electron appelectron starthow to start using electron jselectron js from html to electronmake a new electron js projectselectron jsinit electron projecthow to settup electronelectron open appelectron get startednode js electron tutorialelectron setupreact native electron quick startelectron system programmingbasic tutorial electronelectron tutorialelectron examplehow to use electronelectron app starterelectron quick start guideelectron project initializerelectron hello worldhow to start a new electron js projectelectron main filequick start electronmake a new electron js projectelectron js run node js fileelectron development in a nutshellhow to make a new electron projecthow to run electron appellectron js tutorialelectron basic exampleelectron guidehow to get started with electron jssimple electron and nodejs appsetup electron js projectelectron node js tutorialelectron getting startedguidewrite an electron appelectron js create new projectelectron quickstartquick started electroninstall electron quickstartelectron baseelectron run app electron initelectron javascriptelectron main script filehow to use js in electron jstutorial build javascript electron appwhat is required to run an electron apphow to get started with electronjshello world electronelectron quick start commandhow to use electron jselectron js make app start at astruphow to make electronrun electron appcreate electron appwritting your first electron appelectron quick start apphow to make an electron appelectron run projectelectron quick setupelectron quickstart guidehow to start electroncreate new electron appopen application with electronelectron quick guidecreate an electron appelectron js startelectron js runhow to make a electron appelectron app tutorialelectron quickstart guide