phundrak.com/content/.vuepress/client.ts
Lucien Cartier-Tilet 8413181750
refactor: move Vuepress files in dedicated directory
Signed-off-by: Lucien Cartier-Tilet <lucien@phundrak.com>
2023-02-09 12:13:47 +01:00

14 lines
417 B
TypeScript

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: [],
});