Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions frameworks/nuxt.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,25 @@ declare module '#app' {

## Examples

### VitePwaManifest in app.vue

When adding `VitePwaManifest` component to your `app.vue`:
```vue
<template>
<VitePwaManifest />
<NuxtPage />
</template>
```

then, the web manifest link will be added to your HTML pages:
```html
<html>
<head>
<link rel="manifest" href="/manifest.webmanifest">
</head>
</html>
```

### Prompt for update and offline ready

```vue
Expand Down