2025-12-17 16:49:16 +08:00
|
|
|
{
|
|
|
|
|
"compilerOptions": {
|
|
|
|
|
"target": "esnext",
|
|
|
|
|
"jsx": "preserve",
|
|
|
|
|
"lib": ["esnext", "dom", "dom.iterable", "scripthost"],
|
|
|
|
|
"experimentalDecorators": true,
|
|
|
|
|
"baseUrl": ".",
|
|
|
|
|
"module": "esnext",
|
|
|
|
|
"moduleResolution": "Bundler",
|
|
|
|
|
"paths": {
|
|
|
|
|
"@/*": ["src/*"],
|
|
|
|
|
"~root/*": ["./*"]
|
|
|
|
|
},
|
|
|
|
|
"types": [
|
|
|
|
|
"node",
|
|
|
|
|
"unplugin-vue-router/client",
|
refactor: remove i18n dependency and hardcode strings in components
- Updated ChatInput.vue to remove i18n and handle model value updates directly.
- Refactored NavBar.vue to use a static title map instead of i18n.
- Simplified TabBar.vue by replacing i18n calls with hardcoded titles.
- Removed i18n usage in various pages (charts, counter, forgot-password, index, keepalive, llm-chat, login, mock, profile, register, scroll-cache, settings, unocss).
- Deleted localization files (en-US.json, zh-CN.json) and i18n utility functions.
- Updated constants to provide static app name and description.
- Adjusted page titles in set-page-title.ts to use static names.
- Cleaned up TypeScript types by removing unused i18n types.
2025-12-19 10:09:47 +08:00
|
|
|
"vite-plugin-pwa/client"
|
2025-12-17 16:49:16 +08:00
|
|
|
],
|
|
|
|
|
"allowJs": true,
|
|
|
|
|
"strictNullChecks": false,
|
|
|
|
|
"noImplicitAny": false,
|
|
|
|
|
"noUnusedLocals": true,
|
|
|
|
|
"noUnusedParameters": true,
|
|
|
|
|
"importHelpers": true,
|
|
|
|
|
"sourceMap": true,
|
|
|
|
|
"allowSyntheticDefaultImports": true,
|
|
|
|
|
"esModuleInterop": true,
|
|
|
|
|
"verbatimModuleSyntax": true,
|
|
|
|
|
"skipLibCheck": true
|
|
|
|
|
},
|
|
|
|
|
"include": [
|
|
|
|
|
"src/App.vue",
|
|
|
|
|
"src/**/*.ts",
|
|
|
|
|
"src/**/*.tsx",
|
|
|
|
|
"src/**/*.vue",
|
|
|
|
|
"src/types/components.d.ts",
|
|
|
|
|
"src/types/auto-imports.d.ts",
|
|
|
|
|
"src/types/typed-router.d.ts"
|
|
|
|
|
]
|
|
|
|
|
}
|