diff --git a/src/client/app/exports.ts b/src/client/app/exports.ts index d45ea82d..19392422 100644 --- a/src/client/app/exports.ts +++ b/src/client/app/exports.ts @@ -1,5 +1,5 @@ // exports in this file are exposed to themes and md files via 'vitepress' -// so the user can do `import { useRoute, useSiteData } from 'vitepress'`. +// so the user can do `import { useRoute, useSiteData } from 'vitepress'` import { ComponentOptions } from 'vue' diff --git a/types/shared.d.ts b/types/shared.d.ts index 8ecfea93..cf2aa73a 100644 --- a/types/shared.d.ts +++ b/types/shared.d.ts @@ -1,4 +1,4 @@ -// types shared between server and client. +// types shared between server and client export interface LocaleConfig { lang: string @@ -10,10 +10,10 @@ export interface LocaleConfig { } export interface SiteData { + base: string lang: string title: string description: string - base: string head: HeadConfig[] themeConfig: ThemeConfig locales: Record