app/docs/.vitepress/theme/index.ts
snowykami 72e71124b8
Some checks failed
Deploy VitePress site to Pages / build (push) Failing after 1m14s
📝 docs: 资源商店新增发布资源功能
2024-09-17 01:35:26 +08:00

18 lines
477 B
TypeScript

import DefaultTheme from 'vitepress/theme'
import './liteyuki.scss'
import StatsBar from '../../components/StatsBar.vue'
import PluginStore from '../../components/PluginStore.vue'
import ResStore from '../../components/ResStore.vue'
export default {
extends: DefaultTheme,
enhanceApp({ app }) {
app.component('StatsBar', StatsBar);
app.component('PluginStore', PluginStore);
app.component('ResStore', ResStore);
},
Layout: StatsBar
}