10 lines
291 B
TypeScript
10 lines
291 B
TypeScript
import { defineClientConfig } from 'vuepress/client'
|
|
import type { ClientConfig } from 'vuepress/client'
|
|
import Collection from './components/PageCollection.js'
|
|
|
|
export default defineClientConfig({
|
|
enhance({ app }) {
|
|
app.component('PageCollection', Collection)
|
|
},
|
|
}) as ClientConfig
|