diff --git a/packages/nuxt3/src/app/nuxt.ts b/packages/nuxt3/src/app/nuxt.ts index 9172fec970..c07f9b45a5 100644 --- a/packages/nuxt3/src/app/nuxt.ts +++ b/packages/nuxt3/src/app/nuxt.ts @@ -10,7 +10,7 @@ type NuxtMeta = { headAttrs?: string bodyAttrs?: string headTags?: string - bodyPrepend?: string + bodyScriptsPrepend?: string bodyScripts?: string } diff --git a/packages/nuxt3/src/meta/runtime/lib/vue-meta.plugin.ts b/packages/nuxt3/src/meta/runtime/lib/vue-meta.plugin.ts index 86a7a83815..2eed507e6a 100644 --- a/packages/nuxt3/src/meta/runtime/lib/vue-meta.plugin.ts +++ b/packages/nuxt3/src/meta/runtime/lib/vue-meta.plugin.ts @@ -30,7 +30,7 @@ export default defineNuxtPlugin((nuxtApp) => { headAttrs: nuxtApp.ssrContext.teleports.headAttrs || '', bodyAttrs: nuxtApp.ssrContext.teleports.bodyAttrs || '', headTags: nuxtApp.ssrContext.teleports.head || '', - bodyPrepend: nuxtApp.ssrContext.teleports['body-prepend'] || '', + bodyScriptsPrepend: nuxtApp.ssrContext.teleports['body-prepend'] || '', bodyScripts: nuxtApp.ssrContext.teleports.body || '' } }