feat: init i18n

This commit is contained in:
CalciumIon
2024-12-12 23:32:55 +08:00
parent 16599a900b
commit cd21aa1c56
6 changed files with 1270 additions and 1 deletions

View File

@@ -26,6 +26,7 @@ export default defineConfig({
esbuildOptions: {
loader: {
'.js': 'jsx',
'.json': 'json',
},
},
},
@@ -45,6 +46,7 @@ export default defineConfig({
'react-toastify',
'react-turnstile',
],
'i18n': ['i18next', 'react-i18next', 'i18next-browser-languagedetector'],
},
},
},