FMHYedit/.vitepress/theme/index.ts

19 lines
352 B
TypeScript
Raw Normal View History

2023-10-26 21:04:41 +00:00
import { h } from "vue";
2023-10-30 18:32:25 +00:00
import {type Theme, inBrowser } from "vitepress";
2023-10-26 21:04:41 +00:00
import DefaultTheme from "vitepress/theme";
import "./style.css";
2023-10-30 18:32:25 +00:00
import "uno.css";
if (inBrowser)
import('./pwa')
2023-10-26 19:12:13 +00:00
export default {
Layout: () => {
return h(DefaultTheme.Layout, null, {
2023-10-26 21:04:41 +00:00
});
2023-10-26 19:12:13 +00:00
},
enhanceApp({ app, router, siteData }) {
2023-10-26 21:04:41 +00:00
},
} satisfies Theme;