Build Commands     

We will be covering Development and Production build commands. For a full list of Quasar CLI commands, make sure to read its documentation page.

Development

Starts a Node.js local development server.

# run development server (with default theme)
$ quasar dev

# run development server with specific theme
$ quasar dev -t mat
$ quasar dev -t ios

# on specific port
$ quasar dev -p 9090

# SSR
$ quasar dev -m ssr

# PWA
$ quasar dev -m pwa

# Mobile App
$ quasar dev -m cordova -T [android|ios] -t [mat|ios]

# Electron App
$ quasar dev -m electron
# with iOS theme...
$ quasar dev -m electron -t ios

For a complete list, please read Quasar CLI Development Server section.

While developing with the Dev Server you will have:

Production

Build assets for production.

# build for production
$ quasar build

# build for production with specific theme
$ quasar build -t mat
$ quasar build -t ios

# SSR
$ quasar build -m ssr

# PWA
$ quasar build -m pwa

# Mobile App
$ quasar build -m cordova -T [android|ios] -t [mat|ios]

# Electron App
$ quasar build -m electron
# with iOS theme...
$ quasar build -m electron -t ios

For a complete list, please read Quasar CLI Build App for Production section.

In addition to what you get while developing your website/app, for production builds you also take advantage of: