mirror of https://github.com/vuejs/vitepress
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
377 B
13 lines
377 B
import type { Theme } from 'vitepress'
|
|
import DefaultTheme from 'vitepress/theme'
|
|
import ApiPreference from './components/ApiPreference.vue'
|
|
import NavVersion from './components/NavVersion.vue'
|
|
|
|
export default {
|
|
extends: DefaultTheme,
|
|
enhanceApp({ app }) {
|
|
app.component('ApiPreference', ApiPreference)
|
|
app.component('NavVersion', NavVersion)
|
|
}
|
|
} satisfies Theme
|