Skip to content

Commit 5b730f5

Browse files
docs: Fix/Clarify the PWA section of Webpack to Vite guide (fix quasarframework#12841)
1 parent 03efa7f commit 5b730f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/src/pages/quasar-cli-vite/convert-to-quasar-cli-with-vite.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,14 @@ More info: [Configuring SSR](/quasar-cli-vite/developing-ssr/configuring-ssr)
6262

6363
### 6. PWA related
6464

65-
* The `/src-pwa/manifest.json` has no meaning for a Quasar CLI with Webpack project. You will need to use `quasar.config.js > manifest` to declare it there. After declaring the manifest in quasar.config.js then delete the `/src-pwa/manifest.json` file.
65+
* Quasar CLI with Webpack relies on `quasar.config.js > manifest` to specify the manifest, but you will need to use `/src-pwa/manifest.json` to declare it for Quasar CLI with Vite. After declaring the manifest in `/src-pwa/manifest.json`, delete `quasar.config.js > manifest` section.
6666
* There were also some props in `quasar.config.js` that are no longer available. Most notably: `metaVariables`, `metaVariablesFn`. Simply edit `/index.html` and add those tags directly there.
6767

6868
```html
6969
<!-- index.html -->
7070
<head>
7171
<% if (ctx.mode.pwa) { %>
72-
...pwa.tags..
72+
<!-- Define your custom PWA-related meta/link tags here. -->
7373
<% } %>
7474
</head>
7575
```

0 commit comments

Comments
 (0)