mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 01:17:16 +00:00
fix(nuxt3): update meta return type to bodyScriptsPrepend
(#3257)
This commit is contained in:
parent
4cd931e5ea
commit
3fccbfa252
@ -10,7 +10,7 @@ type NuxtMeta = {
|
|||||||
headAttrs?: string
|
headAttrs?: string
|
||||||
bodyAttrs?: string
|
bodyAttrs?: string
|
||||||
headTags?: string
|
headTags?: string
|
||||||
bodyPrepend?: string
|
bodyScriptsPrepend?: string
|
||||||
bodyScripts?: string
|
bodyScripts?: string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@ export default defineNuxtPlugin((nuxtApp) => {
|
|||||||
headAttrs: nuxtApp.ssrContext.teleports.headAttrs || '',
|
headAttrs: nuxtApp.ssrContext.teleports.headAttrs || '',
|
||||||
bodyAttrs: nuxtApp.ssrContext.teleports.bodyAttrs || '',
|
bodyAttrs: nuxtApp.ssrContext.teleports.bodyAttrs || '',
|
||||||
headTags: nuxtApp.ssrContext.teleports.head || '',
|
headTags: nuxtApp.ssrContext.teleports.head || '',
|
||||||
bodyPrepend: nuxtApp.ssrContext.teleports['body-prepend'] || '',
|
bodyScriptsPrepend: nuxtApp.ssrContext.teleports['body-prepend'] || '',
|
||||||
bodyScripts: nuxtApp.ssrContext.teleports.body || ''
|
bodyScripts: nuxtApp.ssrContext.teleports.body || ''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user