mirror of
https://github.com/mivodev/mivodev.github.io.git
synced 2026-01-27 05:51:56 +07:00
17 lines
488 B
TypeScript
17 lines
488 B
TypeScript
import DefaultTheme from 'vitepress/theme'
|
|
import type { EnhanceAppContext } from 'vitepress'
|
|
import Layout from './Layout.vue'
|
|
import Icon from './components/Icon.vue'
|
|
import 'flag-icons/css/flag-icons.min.css'
|
|
import PluginRegistry from './components/PluginRegistry.vue'
|
|
import './input.css'
|
|
|
|
export default {
|
|
extends: DefaultTheme,
|
|
Layout: Layout,
|
|
enhanceApp({ app }: EnhanceAppContext) {
|
|
app.component('Icon', Icon)
|
|
app.component('PluginRegistry', PluginRegistry)
|
|
}
|
|
}
|