app/docs/.vitepress/theme/index.ts

13 lines
297 B
TypeScript
Raw Normal View History

2024-09-01 18:25:37 +08:00
import type {Theme} from "vitepress";
import DefaultTheme from 'vitepress/theme'
import './liteyuki.css'
2024-09-01 18:25:37 +08:00
import StatsBar from '../../components/StatsBar.vue'
export default {
extends: DefaultTheme,
enhanceApp({app}) {
app.component('StatsBar', StatsBar)
},
} satisfies Theme