index.ts 423 B

1234567891011121314151617181920
  1. import { defineConfig } from 'vitepress'
  2. import en from './en'
  3. import zh_CN from './zh_CN'
  4. export default defineConfig({
  5. locales: {
  6. root: {
  7. label: 'English',
  8. lang: en.lang,
  9. themeConfig: en.themeConfig,
  10. description: en.description
  11. },
  12. zh_CN: {
  13. label: '简体中文',
  14. lang: zh_CN.lang,
  15. themeConfig: zh_CN.themeConfig,
  16. description: zh_CN.description
  17. },
  18. }
  19. })