- 04 Mar, 2026 1 commit
-
-
shaw authored
-
- 02 Feb, 2026 1 commit
-
-
song authored
-
- 20 Jan, 2026 1 commit
-
-
墨颜 authored
- 使用 loadEnv 读取 VITE_DEV_PROXY_TARGET/VITE_DEV_PORT - 注入 public settings 与 dev proxy 使用同源后端地址
-
- 16 Jan, 2026 2 commits
-
-
yangjianbo authored
- 添加路由预加载功能,使用 requestIdleCallback 在浏览器空闲时预加载 - 配置 Vite manualChunks 分离 vendor 库(vue/ui/chart/i18n/misc) - 新增 NavigationProgress 导航进度条组件,支持防闪烁和无障碍 - 集成 Vitest 测试框架,添加 40 个单元测试和集成测试 - 支持 prefers-reduced-motion 和暗色模式 Co-Authored-By:Claude Opus 4.5 <noreply@anthropic.com>
-
yangjianbo authored
- 添加路由预加载功能,使用 requestIdleCallback 在浏览器空闲时预加载 - 配置 Vite manualChunks 分离 vendor 库(vue/ui/chart/i18n/misc) - 新增 NavigationProgress 导航进度条组件,支持防闪烁和无障碍 - 集成 Vitest 测试框架,添加 40 个单元测试和集成测试 - 支持 prefers-reduced-motion 和暗色模式 Co-Authored-By:Claude Opus 4.5 <noreply@anthropic.com>
-
- 10 Jan, 2026 1 commit
-
-
Edric Li authored
- Add home_content setting for custom homepage (HTML or iframe URL) - Inject public settings into index.html to eliminate page flash - Support ETag caching with automatic invalidation on settings update - Add Vite plugin for dev mode settings injection - Refactor HomeView to use appStore instead of local API calls
-
- 07 Jan, 2026 1 commit
-
-
LLLLLLiulei authored
-
- 05 Jan, 2026 2 commits
-
-
LLLLLLiulei authored
-
shaw authored
问题:使用 vue-i18n 运行时版本后,带变量的翻译(如 '{days} 天') 无法正确显示,直接显示原始字符串。 原因:运行时版本不含消息编译器,无法在运行时编译消息插值。 解决:启用 JIT 编译(__INTLIFY_JIT_COMPILATION__: true) - JIT 编译器将消息编译为 AST 对象而非 JavaScript 代码 - 通过解释执行 AST 实现插值,无需 eval 或 new Function - 符合 CSP script-src 'self' 策略,不降低安全性 同时将 vite.config.js.timestamp-* 临时文件添加到 .gitignore
-
- 04 Jan, 2026 1 commit
-
-
shaw authored
使用 vue-i18n 纯运行时版本替代默认版本,避免运行时消息编译 需要 `new Function` 而被 CSP `script-src 'self'` 策略阻止。
-
- 26 Dec, 2025 1 commit
-
-
ianshaw authored
- 更新 package-lock.json 依赖版本 - 优化 Vite、PostCSS、Tailwind 配置 - 更新入口 HTML 文件 - 更新 TypeScript 构建缓存
-
- 18 Dec, 2025 2 commits