mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-24 11:08:16 +08:00
12 lines
295 B
TypeScript
12 lines
295 B
TypeScript
import { defineClientConfig } from '@vuepress/client'
|
|
import { Content } from './components/Content.js'
|
|
|
|
export default defineClientConfig({
|
|
enhance({ app }) {
|
|
if (app._context.components.Content)
|
|
delete app._context.components.Content
|
|
|
|
app.component('Content', Content)
|
|
},
|
|
})
|