update
Some checks failed
deploy / deploy (push) Has been cancelled

This commit is contained in:
toom1996
2026-08-16 00:56:59 +08:00
parent 31cb7a125a
commit 781242ede0
26 changed files with 1814 additions and 1214 deletions

View File

@ -11,6 +11,13 @@ export default defineConfig({
vite: {
plugins: [tailwindcss()]
},
i18n: {
defaultLocale: 'en',
locales: ['en', 'cn'],
routing: {
prefixDefaultLocale: false, // 英文在根路径 /shows,中文在 /cn/shows
},
},
build: {
// 示例:在构建过程中生 成`page.html` 而不是 `page/index.html`。
format: 'file'