17 lines
409 B
TypeScript
Raw Normal View History

2024-01-25 16:32:45 +00:00
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'
2023-11-12 22:12:57 +05:30
export default {
extends: DefaultTheme,
2023-11-14 22:48:52 +05:30
Layout,
2023-12-31 06:57:10 +00:00
enhanceApp({ router, app }) {
2024-01-25 16:32:45 +00:00
app.component('Post', Post)
loadProgress(router)
}
} satisfies Theme