Xray-docs-next/docs/.vuepress/theme/clientAppEnhance.ts
2021-04-06 23:47:32 +08:00

11 lines
316 B
TypeScript

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