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

Update 2.nuxt-page.md #8761

Merged
merged 1 commit into from Nov 7, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/content/3.api/2.components/2.nuxt-page.md
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