Awesome
Main code flow: main.js
-> index.html
-> renderer.js
https://github.com/hchiam/learning-electron
-
setup:
npm install npm start
or
yarn yarn start
https://github.com/electron/electron-api-demos/releases
- Unzip to get and run an app that demos the most important features of Electron.
- src/
electron-starter.js
:mainWindow
,createWindow
, andapp.on
event listeners - src/
index.js
->App
fromApp.js
->render()
https://github.com/electron-react-boilerplate/electron-react-boilerplate
- app/
main.dev.js
:mainWindow
,createWindow
, andapp.on
event listeners - app/
index.js
->Root
from app/containers/Root.js
->Routes
from app/Routes.js
-> containers/HomePage.js
, containers/CounterPage.js
, app/containers/App.js
-> app/components/Home.js
, app/components/Counter.js
, app/actions/counter.js
https://www.tutorialspoint.com/electron/index.htm