From f5a42ee7c420070ea8faebd84d6129dfbb397569 Mon Sep 17 00:00:00 2001 From: 0007 <0007@qq.com> Date: Wed, 27 Aug 2025 19:57:07 +0800 Subject: [PATCH] Add File --- docs/.vitepress/theme/index.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 docs/.vitepress/theme/index.ts diff --git a/docs/.vitepress/theme/index.ts b/docs/.vitepress/theme/index.ts new file mode 100644 index 0000000..bd12cba --- /dev/null +++ b/docs/.vitepress/theme/index.ts @@ -0,0 +1,13 @@ +// https://vitepress.dev/guide/custom-theme +import { h } from 'vue' +import Theme from 'vitepress/theme' +import './style.css' +import MyLayout from "./MyLayout.vue"; + +export default { + ...Theme, + Layout: MyLayout, + enhanceApp({ app, router, siteData }) { + // ... + } +}