18 lines
447 B
TypeScript
Raw Normal View History

2023-10-27 02:34:41 +05:30
import { h } from "vue";
2023-11-01 02:10:38 +05:30
import { type Theme, inBrowser } from "vitepress";
2023-10-27 02:34:41 +05:30
import DefaultTheme from "vitepress/theme";
2023-11-03 15:52:52 +05:30
import Sidebar from "./components/SidebarCard.vue";
2023-10-27 02:34:41 +05:30
import "./style.css";
2023-10-31 00:02:25 +05:30
import "uno.css";
2023-11-03 12:52:29 +05:30
// if (inBrowser) import("./pwa");
2023-10-27 00:42:13 +05:30
export default {
Layout: () => {
return h(DefaultTheme.Layout, null, {
2023-11-03 15:52:52 +05:30
"sidebar-nav-after": () => h(Sidebar),
2023-10-27 02:34:41 +05:30
});
2023-10-27 00:42:13 +05:30
},
2023-11-04 20:27:52 +05:30
enhanceApp({ app, router, siteData }) {},
2023-10-27 02:34:41 +05:30
} satisfies Theme;