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

12 lines
423 B
TypeScript
Raw Normal View History

2024-01-26 05:07:42 +08:00
// import { defineClientAppEnhance } from "@vuepress/client";
import { defineClientAppEnhance } from "vuepress/client";
2021-04-06 23:47:32 +08:00
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
});