chore: docs 迁移至 apps

This commit is contained in:
wangxuefeng
2025-03-12 14:32:58 +08:00
parent c86bf9e62e
commit bcdb4e8c95
91 changed files with 111 additions and 193 deletions

View File

@@ -0,0 +1,24 @@
import { withPwa } from '@vite-pwa/vitepress';
import { defineConfigWithTheme } from 'vitepress';
import { shared } from './shared.mts';
import { zh } from './zh.mts';
export default withPwa(
defineConfigWithTheme({
...shared,
locales: {
// en: {
// label: 'English',
// lang: 'en',
// link: '/en/',
// ...en,
// },
root: {
label: '简体中文',
lang: 'zh-CN',
...zh,
},
},
}),
);