Xray-docs-next/docs/.vuepress/theme/clientAppEnhance.ts
2021-09-11 17:43:35 +08:00

11 lines
362 B
TypeScript

import { defineClientAppEnhance } from "@vuepress/client";
import Tab from "./components/Tab.vue";
import Tabs from "./components/Tabs.vue";
import Mermaid from "./components/Mermaid.vue";
export default defineClientAppEnhance(({ app, router, siteData }) => {
app.component("Tab", Tab);
app.component("Tabs", Tabs);
app.component("Mermaid", Mermaid);
});