docs: document tag types for insertHtmlContent (#8292)

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
This commit is contained in:
Mikey O'Toole 2022-11-09 17:29:53 +00:00 committed by GitHub
parent 8f6dde5544
commit 7ffa9f7689
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.