Skip to content
This repository was archived by the owner on Apr 6, 2023. It is now read-only.

Commit 633b7a9

Browse files
authored
Update 2.nuxt-page.md
1 parent fe433a4 commit 633b7a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/content/3.api/2.components/2.nuxt-page.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ For example, passing `static` key, `NuxtPage` component is rendered only once wh
3131

3232
```html
3333
<!-- static key -->
34-
<NuxtPage page-key=static />
34+
<NuxtPage page-key="static" />
3535
```
3636

3737
Alternatively, `pageKey` can be passed as a `key` value via `definePageMeta` from the `<script>` section of your Vue component in the `/pages` directory.
@@ -51,7 +51,7 @@ definePageMeta({
5151
In addition, `NuxtPage` also accepts custom props that you may need to pass further down the hierarchy. These custom props are accessible via `attrs` in the Nuxt app.
5252

5353
```html
54-
<NuxtPage :foobar=123 />
54+
<NuxtPage :foobar="123" />
5555
```
5656

5757
For example, in above example, value of `foobar` will be available using `attrs.foobar`.

0 commit comments

Comments
 (0)