A basic Electron application needs just these files:
package.json
- Points to the app's main file and lists its details and dependencies.main.js
- Starts the app and creates a browser window to render HTML. This is the app's main process.index.html
- A web page to render. This is the app's renderer process.
npm install
npm start
stb.render(skyfeed)
sudo npm install electron-packager -g
sudo npm install -g electron-forge
electron-forge package --platform=linux --arch=x64
electron-forge make
DevTools: F12 Reload Page: F5 Inspect: Ctrl + Shift + C