mirror of
https://github.com/fmhy/edit.git
synced 2025-07-29 07:12:15 +10:00
18 lines
498 B
TypeScript
18 lines
498 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'
|
|
import Feedback from './components/Feedback.vue'
|
|
|
|
export default {
|
|
extends: DefaultTheme,
|
|
Layout,
|
|
enhanceApp({ router, app }) {
|
|
app.component('Post', Post)
|
|
app.component('Feedback', Feedback)
|
|
loadProgress(router)
|
|
}
|
|
} satisfies Theme
|