Skip to content
This repository was archived by the owner on Apr 6, 2023. It is now read-only.
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
4 changes: 2 additions & 2 deletions docs/content/3.api/2.components/2.nuxt-page.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ For example, passing `static` key, `NuxtPage` component is rendered only once wh

```html
<!-- static key -->
<NuxtPage page-key=β€œstatic” />
<NuxtPage page-key="static" />
```

Alternatively, `pageKey` can be passed as a `key` value via `definePageMeta` from the `<script>` section of your Vue component in the `/pages` directory.
Expand All @@ -51,7 +51,7 @@ definePageMeta({
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.

```html
<NuxtPage :foobar=β€œ123” />
<NuxtPage :foobar="123" />
```

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