FMHYedit/.vitepress/theme/index.ts

16 lines
407 B
TypeScript
Raw Normal View History

2023-10-26 21:04:41 +00:00
import { h } from "vue";
2023-10-31 20:40:38 +00:00
import { type Theme, inBrowser } from "vitepress";
2023-10-26 21:04:41 +00:00
import DefaultTheme from "vitepress/theme";
2023-11-03 10:22:52 +00:00
import Sidebar from "./components/SidebarCard.vue";
2023-11-05 09:03:11 +00:00
import Layout from "./Layout.vue";
2023-10-26 21:04:41 +00:00
import "./style.css";
2023-10-30 18:32:25 +00:00
import "uno.css";
2023-11-03 07:22:29 +00:00
// if (inBrowser) import("./pwa");
2023-10-26 19:12:13 +00:00
export default {
2023-11-05 09:03:11 +00:00
extends: DefaultTheme,
Layout: Layout,
2023-11-04 14:57:52 +00:00
enhanceApp({ app, router, siteData }) {},
2023-10-26 21:04:41 +00:00
} satisfies Theme;