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

28 lines
1.1 KiB
TypeScript
Raw Normal View History

import { defineClientConfig } from '@vuepress/client';
import ResponsiveImage from './components/ResponsiveImage.vue';
import ListRepositories from './components/GitHub/ListRepositories.vue';
import FetchRepositories from './components/GitHub/FetchRepositories.vue';
import GithubRepository from './components/GitHub/GithubRepository.vue';
import ApiLoader from './components/ApiLoader.vue';
2023-05-08 01:34:48 +00:00
import Loader from './components/Loader.vue';
import Cache from './components/Cache.vue';
2023-05-08 16:04:30 +00:00
import Error from './components/Error.vue';
import Icon from './components/Icon.vue';
export default defineClientConfig({
enhance({ app }) {
app.component('ResponsiveImage', ResponsiveImage);
app.component('ListRepositories', ListRepositories);
app.component('FetchRepositories', FetchRepositories);
app.component('GithubRepository', GithubRepository);
app.component('ApiLoader', ApiLoader);
2023-05-08 01:34:48 +00:00
app.component('Loader', Loader);
app.component('Cache', Cache);
2023-05-08 16:04:30 +00:00
app.component('Error', Error);
app.component('Icon', Icon);
},
setup() {},
layouts: {},
rootComponents: [],
});