Skip to content

Commit 00b5aea

Browse files
authored
docs: consistent example with js/ts
1 parent 60fc8fd commit 00b5aea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: docs/guide/extending-default-theme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ import DefaultTheme from 'vitepress/theme'
116116

117117
export default {
118118
extends: DefaultTheme,
119-
async enhanceApp({ app }) {
119+
enhanceApp({ app }) {
120120
// register your custom global components
121121
app.component('MyGlobalComponent' /* ... */)
122122
}

0 commit comments

Comments
 (0)