refactor: move Vuepress files in dedicated directory
Signed-off-by: Lucien Cartier-Tilet <lucien@phundrak.com>
This commit is contained in:
13
content/.vuepress/client.ts
Normal file
13
content/.vuepress/client.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
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: [],
|
||||
});
|
||||
Reference in New Issue
Block a user