To develop an SSR, we first need to inform Quasar that we want to add a new mode of development. Open Terminal (macOS or Linux) or the Command Prompt/PowerShell (Windows) and execute the following command:
> quasar mode add electron
Quasar-CLI will create a folder called src-electron, which will have an Electron project inside.
The folder structure for Electron projects looks like this:
src-electron/
├── icons/
├── main-process/
├── electron-flag.d.ts
Inside the icons folder, you will find the icons that electron-packager will use when building your project. In the main-process folder will be your main Electron files, spliced into two files: one that will only be called on development and another that will be called on development and production.