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

# ..or the longer form:
$ quasar dev --mode electron

# with a specific Quasar theme, for iOS platform:
$ quasar dev -m electron -t ios

# with a specific Quasar theme, for Android platform:
$ quasar dev -m electron -t mat

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

# ..or the longer form:
$ quasar build --mode electron

# with a specific Quasar theme, for iOS platform:
$ quasar build -m electron -t ios

# with a specific Quasar theme, for Android platform:
$ quasar build -m electron -t mat

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.