Skip to content

Dev & Build Setup

James Kao edited this page Dec 6, 2020 · 2 revisions

Setting up a build environment

Install the dependencies

npm install

Start the Electron app in development mode (hot-code reloading, error reporting, etc.)

quasar dev -m electron

Start the SPA app in development mode (which will pop-up in a browser window/tab)

quasar dev

Build Electron into dist/electron

quasar build -m electron

This will build Windows, Mac, and Linux versions on x64 and arm64 by default. Additional architecture/platform combinations can be added by editing quasar.conf.js

Build SPA web pages into dist/spa

quasar build

Lint the files

npm run lint