Skip to content

Commit

Permalink
docs: add script setup option
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Jul 6, 2023
1 parent cdf7330 commit c97bf39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/3.api/2.components/2.nuxt-page.md
Expand Up @@ -71,7 +71,7 @@ In addition, `NuxtPage` also accepts custom props that you may need to pass furt
<NuxtPage :foobar="123" />
```

For example, in above example, value of `foobar` will be available using `$attrs.foobar`.
For example, in the above example, the value of `foobar` will be available using `$attrs.foobar` in the template or `useAttrs().foobar` in `<script setup>`.

::ReadMore{link="/docs/guide/directory-structure/app"}
::

0 comments on commit c97bf39

Please sign in to comment.