Skip to content

Commit

Permalink
docs: document tag types for insertHtmlContent (#8292)
Browse files Browse the repository at this point in the history
Co-authored-by: Joshua Chen <[email protected]>
  • Loading branch information
homotechsual and Josh-Cena authored Nov 9, 2022
1 parent 8f6dde5 commit 7ffa9f7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions website/docs/api/plugin-methods/lifecycle-apis.md
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,12 @@ module.exports = function (context, options) {
};
```

Tags will be added as follows:

- `headTags` will be inserted before the closing `</head>` tag after scripts added by config.
- `preBodyTags` will be inserted after the opening `<body>` tag before any child elements.
- `postBodyTags` will be inserted before the closing `</body>` tag after all child elements.

## `getClientModules()` {#getClientModules}

Returns an array of paths to the [client modules](../../advanced/client.md#client-modules) that are to be imported into the client bundle.
Expand Down

0 comments on commit 7ffa9f7

Please sign in to comment.