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

11 lines
362 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";
2021-09-11 17:43:07 +08:00
import Mermaid from "./components/Mermaid.vue";
2021-04-06 23:47:32 +08:00
export default defineClientAppEnhance(({ app, router, siteData }) => {
app.component("Tab", Tab);
app.component("Tabs", Tabs);
2021-09-11 17:43:07 +08:00
app.component("Mermaid", Mermaid);
2021-04-06 23:47:32 +08:00
});