Skip to content

Commit

Permalink
docs: update warning
Browse files Browse the repository at this point in the history
  • Loading branch information
userquin committed Sep 11, 2022
1 parent 0b7e28d commit 3dd144d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/config/app-configs.md
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ VitePress build hooks allow you to add new functionality and behaviors to your w
`transformHead` is a build hook to transform the head before rendering each page: it will allow you to add head entries that cannot be statically added to your VitePress config module.

::: warning
The header provided in `TransformContext` is a clone, any headers you want to include on all pages will need to be added on each call.
The `head` provided in `TransformContext` is a clone, any headers you want to include on all pages will need to be added on each call.
:::

```ts
Expand Down

0 comments on commit 3dd144d

Please sign in to comment.