docs: clarify that bridge supports definePageMeta (#23944)

This commit is contained in:
Ryota Watanabe 2023-10-26 11:51:39 +09:00 committed by GitHub
parent 6de4bcb75e
commit d9f1354c09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,6 +42,7 @@ export default defineNuxtRouteMiddleware((to) => {
Use of `defineNuxtRouteMiddleware` is not supported outside of the middleware directory.
::
::callout{color="amber" icon="i-ph-warning-duotone"}
Nuxt Bridge does not support `definePageMeta`.
::callout
You can also use [`definePageMeta`](https://nuxt.com/docs/api/utils/define-page-meta) in Nuxt Bridge.
But only for `middleware` and `layout`.
::