mirror of
https://github.com/Wei-Shaw/claude-relay-service.git
synced 2026-01-22 16:43:35 +00:00
🎨 新增功能: - 使用Vue3 + Vite构建的全新管理后台界面 - 支持Tab切换的API统计页面(统计查询/使用教程) - 优雅的胶囊式Tab切换设计 - 同步了PR #106的会话窗口管理功能 - 完整的响应式设计和骨架屏加载状态 🔧 路由调整: - 新版管理后台部署在 /admin-next/ 路径 - 将根路径 / 重定向到 /admin-next/api-stats - 将 /web 页面路由重定向到新版,保留 /web/auth/* 认证路由 - 将 /apiStats 页面路由重定向到新版,保留API端点 🗑️ 清理工作: - 删除旧版 web/admin/ 静态文件 - 删除旧版 web/apiStats/ 静态文件 - 清理相关的文件服务代码 🐛 修复问题: - 修复重定向循环问题 - 修复环境变量配置 - 修复路由404错误 - 优化构建配置 🚀 生成方式:使用 Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
37 lines
922 B
JSON
37 lines
922 B
JSON
{
|
|
"name": "claude-relay-admin-spa",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"lint": "eslint src --ext .js,.vue",
|
|
"format": "prettier --write \"src/**/*.{js,vue,css}\""
|
|
},
|
|
"dependencies": {
|
|
"@fortawesome/fontawesome-free": "^6.5.1",
|
|
"axios": "^1.6.2",
|
|
"chart.js": "^4.4.0",
|
|
"dayjs": "^1.11.9",
|
|
"element-plus": "^2.4.4",
|
|
"pinia": "^2.1.7",
|
|
"vue": "^3.3.4",
|
|
"vue-router": "^4.2.5"
|
|
},
|
|
"devDependencies": {
|
|
"@vitejs/plugin-vue": "^4.5.2",
|
|
"autoprefixer": "^10.4.16",
|
|
"eslint": "^8.55.0",
|
|
"eslint-plugin-vue": "^9.19.2",
|
|
"postcss": "^8.4.32",
|
|
"prettier": "^3.1.1",
|
|
"tailwindcss": "^3.3.6",
|
|
"unplugin-auto-import": "^0.17.2",
|
|
"unplugin-element-plus": "^0.8.0",
|
|
"unplugin-vue-components": "^0.26.0",
|
|
"vite": "^5.0.8"
|
|
}
|
|
}
|