Skip to content

Commit

Permalink
docs: mention <Head> and +client.js in bodyHtmlEnd docs
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout committed Jul 20, 2024
1 parent a4ed0d6 commit 6ac539c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/pages/bodyHtmlEnd/+Page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ The settings `bodyHtmlEnd`/<Link href="/bodyHtmlBegin" /> enable you to insert H

It's usually used for adding the HTML targets of teleports.

> For other use cases, such as adding `<script>` tags, you can also use <Link href="/head">`<Head>`</Link> or <Link href="/client">`+client.js`</Link>.
Teleports work out of the box when using `<Teleport to="teleported">` and you don't have to use `bodyHtml{Begin,End}` then.

> `vike-vue` always inserts this at the end of the `<body>` tag:
Expand All @@ -31,5 +33,7 @@ Teleports work out of the box when using `<Teleport to="teleported">` and you do
## See also
- <Link href="/bodyHtmlBegin" />
- <Link href="/head"/>
- <Link href="/client"/>
- <Link href="/onRenderHtml"/>
- <Link href="/settings"/>

0 comments on commit 6ac539c

Please sign in to comment.