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本地化风格