FMHYedit/.vitepress/theme/index.ts

15 lines
345 B
TypeScript
Raw Normal View History

2023-11-14 16:25:36 +00:00
import { type Theme } from "vitepress";
2023-11-12 16:42:57 +00:00
import DefaultTheme from "vitepress/theme";
import Layout from "./Layout.vue";
2023-11-17 07:56:59 +00:00
import { loadProgress } from "./composables/nprogress";
2023-11-12 16:42:57 +00:00
import "./style.css";
import "uno.css";
export default {
extends: DefaultTheme,
2023-11-14 17:18:52 +00:00
Layout,
2023-11-17 07:56:59 +00:00
enhanceApp({ router }) {
loadProgress(router);
},
2023-11-12 16:42:57 +00:00
} satisfies Theme;