2024-01-20 17:09:47 -05:00

15 lines
381 B
TypeScript

import { Theme } from "@vuepress/core";
import { path } from "@vuepress/utils";
import { defaultTheme } from "vuepress";
export const docsPlugin: Theme = (options, app) => {
return defaultTheme({
name: "xray-docs-theme",
extends: "@vuepress/theme-default",
clientAppEnhanceFiles: path.resolve(__dirname, "clientAppEnhance.ts"),
});
};
export default docsPlugin;