mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 13:45:18 +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
|
||||
bodyAttrs?: string
|
||||
headTags?: string
|
||||
bodyPrepend?: string
|
||||
bodyScriptsPrepend?: string
|
||||
bodyScripts?: string
|
||||
}
|
||||
|
||||
|
@ -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 || ''
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user