Xray-docs-next/docs/.vuepress/theme/clientAppEnhance.ts

9 lines
277 B
TypeScript
Raw Normal View History

2021-04-06 23:47:32 +08:00
import { defineClientAppEnhance } from "@vuepress/client";
import Tab from "./components/Tab.vue";
import Tabs from "./components/Tabs.vue";
export default defineClientAppEnhance(({ app, router, siteData }) => {
app.component("Tab", Tab);
app.component("Tabs", Tabs);
});