FMHYedit/.vitepress/theme/index.ts
taskylizard fee503e3e3
test
2023-11-03 15:52:52 +05:30

18 lines
448 B
TypeScript

import { h } from "vue";
import { type Theme, inBrowser } from "vitepress";
import DefaultTheme from "vitepress/theme";
import Sidebar from "./components/SidebarCard.vue";
import "./style.css";
import "uno.css";
// if (inBrowser) import("./pwa");
export default {
Layout: () => {
return h(DefaultTheme.Layout, null, {
"sidebar-nav-after": () => h(Sidebar),
});
},
enhanceApp({ app, router, siteData }) { },
} satisfies Theme;