FMHYedit/.vitepress/theme/index.ts
taskylizard 76224933d0
format
2023-11-04 20:27:52 +05:30

18 lines
447 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;