Documentación offline Nuxt main

NUXTE1006

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

En esta página

E1006#

onPrehydrate() ran without being transformed by the Nuxt build pipeline. It needs compile-time processing and only works on the server, so this happens when it is called from a dependency that Nuxt does not transpile.

Resolution#

Add the offending library to build.transpile in nuxt.config.ts so the build pipeline can process its onPrehydrate() call.

::read-more{to="/docs/api/composables/on-prehydrate"} ::