This repository was archived by the owner on Apr 6, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/nuxt/src/core/runtime/nitro Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ export interface NuxtRenderHTMLContext {
21
21
htmlAttrs : string [ ]
22
22
head : string [ ]
23
23
bodyAttrs : string [ ]
24
- bodyPreprend : string [ ]
24
+ bodyPrepend : string [ ]
25
25
body : string [ ]
26
26
bodyAppend : string [ ]
27
27
}
@@ -223,7 +223,7 @@ export default defineRenderHandler(async (event) => {
223
223
ssrContext . styles
224
224
] ) ,
225
225
bodyAttrs : normalizeChunks ( [ renderedMeta . bodyAttrs ! ] ) ,
226
- bodyPreprend : normalizeChunks ( [
226
+ bodyPrepend : normalizeChunks ( [
227
227
renderedMeta . bodyScriptsPrepend ,
228
228
ssrContext . teleports ?. body
229
229
] ) ,
@@ -288,7 +288,7 @@ function renderHTMLDocument (html: NuxtRenderHTMLContext) {
288
288
return `<!DOCTYPE html>
289
289
<html ${ joinAttrs ( html . htmlAttrs ) } >
290
290
<head>${ joinTags ( html . head ) } </head>
291
- <body ${ joinAttrs ( html . bodyAttrs ) } >${ joinTags ( html . bodyPreprend ) } ${ joinTags ( html . body ) } ${ joinTags ( html . bodyAppend ) } </body>
291
+ <body ${ joinAttrs ( html . bodyAttrs ) } >${ joinTags ( html . bodyPrepend ) } ${ joinTags ( html . body ) } ${ joinTags ( html . bodyAppend ) } </body>
292
292
</html>`
293
293
}
294
294
You can’t perform that action at this time.
0 commit comments