Skip to content

Commit 3342f28

Browse files
authored
doc: readme renderHeadToString missing await (#176)
1 parent c55974c commit 3342f28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ import { renderHeadToString } from "@vueuse/head"
9393
const appHTML = await renderToString(yourVueApp)
9494

9595
// `head` is created from `createHead()`
96-
const { headTags, htmlAttrs, bodyAttrs, bodyTags } = renderHeadToString(head)
96+
const { headTags, htmlAttrs, bodyAttrs, bodyTags } = await renderHeadToString(head)
9797

9898
const finalHTML = `
9999
<html${htmlAttrs}>

0 commit comments

Comments
 (0)