Documentación offline Nuxt main

NUXTE1007

main Documentación oficial Licencia MITDescargado el 2026-08-02

En esta página

E1007#

A compile-time macro such as definePageMeta() executed at runtime. These helpers are transformed away by the Nuxt build and must never run dynamically. Usually this means the macro was called inside a composable or a non-page component instead of directly in a page.

Resolution#

Call the macro only at the top level of a page component's <script setup>. It cannot be used inside composables, conditionals, or non-page components.

::read-more{to="/docs/api/utils/define-page-meta"} ::