Skip to content

Commit

Permalink
docs: consistent example with js/ts
Browse files Browse the repository at this point in the history
  • Loading branch information
brc-dd authored Nov 23, 2023
1 parent 60fc8fd commit 00b5aea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/extending-default-theme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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' /* ... */)
}
Expand Down

0 comments on commit 00b5aea

Please sign in to comment.