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

docs: clarify that definePageMeta only works in the pages directory #5663

Merged
merged 3 commits into from
Jun 30, 2022
Merged
Changes from 1 commit
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: 4 additions & 0 deletions docs/content/2.guide/2.features/4.head-management.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,8 @@ useHead({
</script>
```

::alert{type=warning}
`definePageMeta` will only work within the [pages/ directory](/guide/directory-structure/pages) since it is tightly coupled to the Vue Router.
pi0 marked this conversation as resolved.
Show resolved Hide resolved
::

:LinkExample{link="/examples/composables/use-head"}