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-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 {
|
|
|
|
Layout: () => {
|
|
|
|
return h(DefaultTheme.Layout, null, {
|
2023-11-03 10:22:52 +00:00
|
|
|
"sidebar-nav-after": () => h(Sidebar),
|
2023-10-26 21:04:41 +00:00
|
|
|
});
|
2023-10-26 19:12:13 +00:00
|
|
|
},
|
2023-11-04 14:57:52 +00:00
|
|
|
enhanceApp({ app, router, siteData }) {},
|
2023-10-26 21:04:41 +00:00
|
|
|
} satisfies Theme;
|