---
title: PWA Build Commands
desc: >-
  (@quasar/app-vite) The Quasar CLI list of commands when developing or building
  a Progressive Web App.
overline: Quasar CLI with Vite - @quasar/app-vite
---
## Developing

```bash
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.

> [!CAUTION]
> Do not run [Lighthouse](https://developers.google.com/web/tools/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

```bash
quasar build -m pwa

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

If you want a production build with debugging enabled:

```bash
quasar build -m pwa -d

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