From 0dada5c2b2fed0ea7ae9ae81700662c73c46242b Mon Sep 17 00:00:00 2001 From: Majoson <42291113+majoson-chen@users.noreply.github.com> Date: Wed, 8 May 2024 21:49:29 +0800 Subject: [PATCH] docs: add demo to page --- packages/docs/.vitepress/config.ts | 4 +++- packages/docs/en_US/index.md | 4 ++++ packages/docs/index.md | 4 ++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/packages/docs/.vitepress/config.ts b/packages/docs/.vitepress/config.ts index 82b7b74..10436b5 100644 --- a/packages/docs/.vitepress/config.ts +++ b/packages/docs/.vitepress/config.ts @@ -34,7 +34,9 @@ export default defineConfig({ noExternal: ['naive-ui', 'date-fns', 'vueuc'] } }, - + sitemap:{ + hostname: "https://suiue.suifans.org" + }, lang: 'zh-Hans', cleanUrls: true, metaChunk: true, diff --git a/packages/docs/en_US/index.md b/packages/docs/en_US/index.md index 634b015..fa0842d 100644 --- a/packages/docs/en_US/index.md +++ b/packages/docs/en_US/index.md @@ -13,6 +13,10 @@ hero: - theme: alt text: reference link: /en_US/reference/index.md + - theme: alt + text: DEMO + link: /demo + target: _blank features: - title: vue localization style diff --git a/packages/docs/index.md b/packages/docs/index.md index cfd024f..06f5a39 100644 --- a/packages/docs/index.md +++ b/packages/docs/index.md @@ -13,6 +13,10 @@ hero: - theme: alt text: 参考文档 link: /reference/index.md + - theme: alt + text: DEMO + link: /demo + target: _blank features: - title: VUE本地化风格