diff --git a/docs/guide/extending-default-theme.md b/docs/guide/extending-default-theme.md index dcbe66ad..b7b29bde 100644 --- a/docs/guide/extending-default-theme.md +++ b/docs/guide/extending-default-theme.md @@ -116,7 +116,7 @@ import DefaultTheme from 'vitepress/theme' export default { extends: DefaultTheme, - async enhanceApp({ app }) { + enhanceApp({ app }) { // register your custom global components app.component('MyGlobalComponent' /* ... */) }