FMHYedit/.vitepress/theme/index.ts
taskylizard 3f1373eb7a
PWA
2023-10-31 00:02:25 +05:30

19 lines
352 B
TypeScript

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