mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-26 11:38:15 +08:00
12 lines
405 B
TypeScript
12 lines
405 B
TypeScript
import { defineClientConfig } from 'vuepress/client'
|
|
import type { ClientConfig } from 'vuepress/client'
|
|
import Iconify from './components/Iconify.vue'
|
|
|
|
declare const __VUEPRESS_PLUGIN_ICONIFY_COMPONENT_NAME__: string
|
|
export default defineClientConfig({
|
|
enhance({ app }) {
|
|
const name = __VUEPRESS_PLUGIN_ICONIFY_COMPONENT_NAME__ || 'Iconify'
|
|
app.component(name, Iconify)
|
|
},
|
|
}) as ClientConfig
|