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

18 lines
476 B
TypeScript
Raw Normal View History

import DefaultTheme from 'vitepress/theme'
import './liteyuki.css'
2024-09-01 18:25:37 +08:00
import StatsBar from '../../components/StatsBar.vue'
2024-09-01 22:14:09 +08:00
import PluginStore from '../../components/PluginStore.vue'
import ResStore from '../../components/ResStore.vue'
2024-09-01 18:25:37 +08:00
2024-09-01 20:39:51 +08:00
2024-09-01 18:25:37 +08:00
export default {
extends: DefaultTheme,
2024-09-01 22:00:17 +08:00
enhanceApp({ app }) {
2024-09-01 22:14:09 +08:00
app.component('StatsBar', StatsBar);
app.component('PluginStore', PluginStore);
app.component('ResStore', ResStore);
2024-09-01 22:00:17 +08:00
},
2024-09-01 20:39:51 +08:00
Layout: StatsBar
}