2023-11-14 21:55:36 +05:30
|
|
|
import { type Theme } from "vitepress";
|
2023-11-12 22:12:57 +05:30
|
|
|
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 13:26:59 +05:30
|
|
|
import { loadProgress } from "./composables/nprogress";
|
2023-11-12 22:12:57 +05:30
|
|
|
import "./style.css";
|
|
|
|
import "uno.css";
|
|
|
|
|
|
|
|
export default {
|
|
|
|
extends: DefaultTheme,
|
2023-11-14 22:48:52 +05:30
|
|
|
Layout,
|
2023-12-31 06:57:10 +00:00
|
|
|
enhanceApp({ router, app }) {
|
|
|
|
app.component("Post", Post);
|
2023-11-17 13:26:59 +05:30
|
|
|
loadProgress(router);
|
|
|
|
},
|
2023-11-12 22:12:57 +05:30
|
|
|
} satisfies Theme;
|