Desenvolvedor de Software na AutoSeg. Baterista e mochileiro nas horas vagas.
/ruan-brandao
@RuanBrandao
Construir aplicações desktop multi-plataforma com JavaScript, HTML e CSS.
A Hackable text editor for the 21st century.
https://atom.io/
{
"name" : "electron-demo",
"version" : "0.1.0",
"main" : "main.js"
}
const {app, BrowserWindow} = require('electron')
app.on('ready', () => {
mainWindow = new BrowserWindow({width: 800, height: 600})
mainWindow.loadURL('file://' + __dirname + '/index.html')
})
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Olá Mundo!</title>
</head>
<body>
<h1>Olá Mundo!</h1>
<h3>Estamos rodando no desktop usando tecnologias web.</h3>
</body>
</html>
$ npm install -g electron-prebuilt
$ electron .
$ git clone https://github.com/electron/electron-quick-start
$ cd electron-quick-start
$ npm install
$ npm start
https://github.com/electron/electron-quick-start
https://electron.atom.io/docs/
https://electron.atom.io/apps/
/ruan-brandao
@RuanBrandao
github.com/ruan-brandao/talk-electron
slides.com/ruanbrandao/desenvolvendo-com-electron