Xray-docs-next/docs/.vuepress/theme/clientAppEnhance.ts
hmol233 dcbd1d3e51
Upgrade vuepress to beta.15
- use official dark theme
- fix: Fix Tabs
2021-05-28 22:11:48 +08:00

9 lines
277 B
TypeScript

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);
});