phundrak.com/content/.vuepress/client.ts

14 lines
417 B
TypeScript
Raw Normal View History

import { defineClientConfig } from '@vuepress/client';
import PreviewImage from './components/PreviewImage.vue';
import ResponsiveImage from './components/ResponsiveImage.vue';
export default defineClientConfig({
enhance({ app, router, siteData }) {
app.component('PreviewImage', PreviewImage);
app.component('ResponsiveImage', ResponsiveImage);
},
setup() {},
layouts: {},
rootComponents: [],
});