- src
- main
- main.js: The entrypoint for the Main Process of Electron
- renderer
- main.js: The entrypoint for the Renderer Process of Electron
- index.html: The first website loaded inside the electron app
- Here you can also place .vue components, etc
- dist
- Webpack builds the bundled main.js (renderer and main) and webpages to this folder
- build
- The binary installer/executables are build here
- main
npm installto install the dependenciesnpm run devstart the webpack-server in the console. Hot Reloading, etc. enablednpm run packbuilds the app as executable, but not packed into the installernpm run distbuild the app as installernpm run dist:standalonebuild the app as standalone, without need for installation
- When started with
npm run dev, you can attach the VsCode debuggerElectron: Rendererfor debugging of the renderer Process. Settings breakpoints, etc is supported - When staring via VsCode debugger
Electron: Mainyou can debug the main process, set breakpoints and stuff