mjfs-us/.vitepress/theme/index.ts

18 lines
446 B
TypeScript
Raw Normal View History

2024-06-20 06:33:21 +00:00
// https://vitepress.dev/guide/custom-theme
2024-06-20 06:55:13 +00:00
import { h } from "vue";
import type { Theme } from "vitepress";
import DefaultTheme from "vitepress/theme";
import "./style.css";
2024-06-20 06:33:21 +00:00
export default {
extends: DefaultTheme,
Layout: () => {
return h(DefaultTheme.Layout, null, {
// https://vitepress.dev/guide/extending-default-theme#layout-slots
2024-06-20 06:55:13 +00:00
});
2024-06-20 06:33:21 +00:00
},
2024-06-20 06:55:13 +00:00
enhanceApp(/*{ app, router, siteData }*/) {
2024-06-20 06:33:21 +00:00
// ...
2024-06-20 06:55:13 +00:00
},
} satisfies Theme;