Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: logo customization #905

Merged
merged 5 commits into from May 16, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
14 changes: 14 additions & 0 deletions .docs/content/1.introduction/4.configuration.md
Expand Up @@ -130,3 +130,17 @@ export default defineAppConfig({
| `github.repo` | `string` | | Name of the GitHub repo to edit files |
| `github.owner` | `string` | | Owner of the repo |
| `github.edit` | `boolean` | | Toggle "Edit this page on Github" component on documentation pages |

## Customizing the logo

To update the logo in the header, create a vue component with your own logo. In this example, the image is located at `/public/img`.
Atinux marked this conversation as resolved.
Show resolved Hide resolved

```
/components/Logo.vue
```

Atinux marked this conversation as resolved.
Show resolved Hide resolved
```
Atinux marked this conversation as resolved.
Show resolved Hide resolved
<template>
<img width="120" src="/img/YOURLOGO.png"/>
Atinux marked this conversation as resolved.
Show resolved Hide resolved
</template>
```