Why donate
API Explorer
Upgrade Guide
Creating a New Project
The /quasar.config File
Convert q/app-webpack Project
Browser Compatibility
TypeScript Support
Directory Structure
Commands List
CSS Preprocessors
Page Routing with VueRouter
Lazy Loading - Code Splitting
Handling Assets
Boot Files
Prefetch Feature
API Proxying
Handling Vite
Handling import.meta.env
State Management with Pinia
Lint and Format Code
Testing & Auditing
Developing Mobile Apps
Ajax Requests
Opening Dev Server To Public
Quasar CLI with Vite - @quasar/app-vite v3
PWA Build Commands

Developing

quasar dev -m pwa

# ..or the longer form:
quasar dev --mode pwa

WARNING

The development server uses a bare minimum Service Worker precaching only the public folder. Working offline will not be available.

WARNING

Do not run Lighthouse on your development build because at this stage the code is intentionally not optimized and contains embedded source maps (among many other things).

Building for Production

quasar build -m pwa

# ..or the longer form:
quasar build --mode pwa

If you want a production build with debugging enabled:

quasar build -m pwa -d

# ..or the longer form
quasar build -m pwa --debug