diff --git a/docs/config/app-configs.md b/docs/config/app-configs.md index 54657e3f..08b75cc6 100644 --- a/docs/config/app-configs.md +++ b/docs/config/app-configs.md @@ -173,3 +173,30 @@ export default { } ``` +## head + +- Type: `array` +- Default: `[]` + +Extra tags to inject into the page HTML ``. You can specify each tag in the form of `[tagName, { attrName: attrValue }, innerHTML?]`. For example, with a structure like this: + +``` +. +├─ docs +│ ├─ .vitepress +│ │ └─ config.js +| └─ public +| └─ logo.png +└─ package.json +``` + +You can add a custom favicon: + +```ts +export default { + head: [ + ['link', { rel: 'icon', href: '/public/logo.png' }] + ] +} +``` +