17 lines
420 B
TypeScript
17 lines
420 B
TypeScript
import { type Theme } from "vitepress";
|
|
import DefaultTheme from "vitepress/theme";
|
|
import Layout from "./Layout.vue";
|
|
import Post from "./PostLayout.vue";
|
|
import { loadProgress } from "./composables/nprogress";
|
|
import "./style.css";
|
|
import "uno.css";
|
|
|
|
export default {
|
|
extends: DefaultTheme,
|
|
Layout,
|
|
enhanceApp({ router, app }) {
|
|
app.component("Post", Post);
|
|
loadProgress(router);
|
|
},
|
|
} satisfies Theme;
|