feat(cli): support site.headHtml option (#10807)

* feat(cli): support site.headHtml option

* docs: update

* docs: update
This commit is contained in:
neverland
2022-07-10 21:20:32 +08:00
committed by GitHub
parent 53162941da
commit 1ac1bb94e7
6 changed files with 31 additions and 3 deletions

View File

@@ -380,12 +380,19 @@ Customize iframe URL.
Customize HTML meta tag, key means name, value means content.
### site.headHtml
- Type: `string`
- Default: `undefined`
Insert a custom HTML content in the `<head>` tag.
### site.enableVConsole
- Type: `boolean`
- Default: `false`
Should use [vConsole](https://github.com/Tencent/vConsole) to debug when dev. For mobile.
Whether to enable [vConsole](https://github.com/Tencent/vConsole) debugging in dev, usually used for mobile debugging.
## PostCSS