Electron Build Commands
Quasar CLI makes it incredibly simple to develop or build the final distributables from your source code.
Developing
$ quasar dev -m electron |
It opens up an Electron window with dev-tools included. You have HMR for the renderer process and changes to main process are also picked up (but the latter restarts the Electron window on each change).
Check how you can tweak Webpack config Object for the Main Process on Configuring Electron page.
Building for Production
$ quasar build -m electron |
It builds your app for production and then uses electron-packager to pack it into an executable. Check how to configure this on Configuring Electron page.
A note for non-Windows users
If you want to build for Windows with a custom icon using a non-Windows platform, you must have wine installed. More Info.