mirror of
https://github.com/fmhy/edit.git
synced 2025-07-30 07:42:18 +10:00
20 lines
487 B
TypeScript
20 lines
487 B
TypeScript
import type { Theme } from 'vitepress'
|
|
import Components from '@fmhy/components'
|
|
import DefaultTheme from 'vitepress/theme'
|
|
import Layout from './Layout.vue'
|
|
import Post from './PostLayout.vue'
|
|
|
|
import './style.scss'
|
|
import 'virtual:uno.css'
|
|
|
|
import Feedback from './components/Feedback.vue'
|
|
|
|
export default {
|
|
extends: DefaultTheme,
|
|
Layout,
|
|
enhanceApp({ app }) {
|
|
app.use(Components)
|
|
app.component('Post', Post)
|
|
app.component('Feedback', Feedback)
|
|
}
|
|
} satisfies Theme
|