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-02 00:26:02 +05:30
|
|
|
import Sidebar from "./components/SidebarPane.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-01 02:10:38 +05:30
|
|
|
if (inBrowser) import("./pwa");
|
2023-10-27 00:42:13 +05:30
|
|
|
|
|
|
|
export default {
|
|
|
|
Layout: () => {
|
|
|
|
return h(DefaultTheme.Layout, null, {
|
2023-11-02 00:26:02 +05:30
|
|
|
"sidebar-nav-before": () => h(Sidebar),
|
2023-10-27 02:34:41 +05:30
|
|
|
});
|
2023-10-27 00:42:13 +05:30
|
|
|
},
|
2023-11-03 12:08:42 +05:30
|
|
|
enhanceApp({ app, router, siteData }) {},
|
2023-10-27 02:34:41 +05:30
|
|
|
} satisfies Theme;
|