2024-05-29 14:13:31 +00:00
|
|
|
// https://vitepress.dev/guide/custom-theme
|
|
|
|
import type { Theme } from 'vitepress';
|
|
|
|
|
|
|
|
import { h } from 'vue';
|
|
|
|
|
2024-06-08 11:49:06 +00:00
|
|
|
import DefaultTheme from 'vitepress/theme';
|
|
|
|
|
|
|
|
import './style.css';
|
|
|
|
|
2024-05-29 14:13:31 +00:00
|
|
|
export default {
|
|
|
|
Layout: () => {
|
|
|
|
return h(DefaultTheme.Layout, null, {
|
|
|
|
// https://vitepress.dev/guide/extending-default-theme#layout-slots
|
|
|
|
});
|
|
|
|
},
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
|
|
enhanceApp({ app, router, siteData }) {
|
|
|
|
// ...
|
|
|
|
},
|
|
|
|
extends: DefaultTheme,
|
|
|
|
} satisfies Theme;
|