docs: consistent example with js/ts

pull/3248/head
Divyansh Singh 1 year ago committed by GitHub
parent 60fc8fd244
commit 00b5aea9eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -116,7 +116,7 @@ import DefaultTheme from 'vitepress/theme'
export default { export default {
extends: DefaultTheme, extends: DefaultTheme,
async enhanceApp({ app }) { enhanceApp({ app }) {
// register your custom global components // register your custom global components
app.component('MyGlobalComponent' /* ... */) app.component('MyGlobalComponent' /* ... */)
} }

Loading…
Cancel
Save