## 主要改动 - 使用 React 18 + TypeScript + Vite 5 重构前端 - 采用 TailwindCSS 实现 Vben Admin 设计风格 - 蓝白色系主题,完整支持暗黑模式 - 新增顶部导航栏(用户信息、主题切换、退出登录) - 新增多标签页导航功能 - 深色侧边栏设计 ## 已完成页面 - 登录/注册页面 - 仪表盘 - 账号管理 - 商品管理 - 关键词管理 - 卡券管理 - 系统设置 - 系统日志 - 管理员页面 ## 技术栈 - React 18 + TypeScript - Vite 5 - TailwindCSS - Zustand (状态管理) - React Router 6 - Lucide React (图标) - Framer Motion (动画)
32 lines
696 B
JSON
32 lines
696 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2020",
|
|
"useDefineForClassFields": true,
|
|
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
|
"module": "ESNext",
|
|
"skipLibCheck": true,
|
|
|
|
/* Bundler mode */
|
|
"moduleResolution": "bundler",
|
|
"allowImportingTsExtensions": true,
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"noEmit": true,
|
|
"jsx": "react-jsx",
|
|
|
|
/* Linting */
|
|
"strict": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
|
|
/* Path aliases */
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@/*": ["./src/*"]
|
|
}
|
|
},
|
|
"include": ["src"],
|
|
"references": [{ "path": "./tsconfig.node.json" }]
|
|
}
|