Skip to content

Commit ac6462f

Browse files
authored
Document tag types for insertHtmlContent
1 parent 004ada7 commit ac6462f

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

website/docs/api/plugin-methods/lifecycle-apis.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,12 @@ module.exports = function (context, options) {
397397
};
398398
```
399399

400+
Tags will be added as follows:
401+
402+
* `headTags` will be inserted before the closing `</head>` tag after scripts added by config.
403+
* `preBodyTags` will be inserted after the opening `<body>` tag before any child elements.
404+
* `postBodyTags` will be inserted before the closing `</body>` tag after all child elements.
405+
400406
## `getClientModules()` {#getClientModules}
401407

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

0 commit comments

Comments
 (0)