Skip to content

Commit

Permalink
docs: logo customization (#905)
Browse files Browse the repository at this point in the history
Co-authored-by: Sébastien Chopin <seb@nuxtlabs.com>
Co-authored-by: Yaël GUILLOUX <yael.guilloux@gmail.com>
  • Loading branch information
3 people committed May 16, 2023
1 parent 838003d commit b52509e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .starters/default/content/1.introduction/4.configuration.md
Expand Up @@ -132,3 +132,15 @@ 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 component in `components/Logo.vue` with your own logo.

In this example, the image is located at `/public/img`.

```vue [components/Logo.vue]
<template>
<img width="120" src="/img/YOURLOGO.png"/>
</template>
```

0 comments on commit b52509e

Please sign in to comment.