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-12-31 06:57:10 +00:00
|
|
|
import Post from "./PostLayout.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-12-31 06:57:10 +00:00
|
|
|
enhanceApp({ router, app }) {
|
|
|
|
app.component("Post", Post);
|
2023-11-17 07:56:59 +00:00
|
|
|
loadProgress(router);
|
|
|
|
},
|
2023-11-12 16:42:57 +00:00
|
|
|
} satisfies Theme;
|