2021-04-14 18:58:55 +08:00

16 lines
408 B
TypeScript

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