feat: 建立 React 管理后台基础架构

This commit is contained in:
que01 committed 2026-09-19 17:46:57 +08:00
1 parent b7fbfa1646
commit f29e64724d
6 files changed
+1448 -7

No files matched your search

+16 -3
View File
@@ -2,12 +2,25 @@
"name": "@personal-brand/admin",
"private": true,
"type": "module",
"dependencies": { "@personal-brand/api-client": "workspace:*" },
"dependencies": {
"@personal-brand/api-client": "workspace:*",
"@tanstack/react-query": "^5.103.1",
"antd": "^6.6.4",
"react": "^19.3.0",
"react-dom": "^19.3.0",
"react-router-dom": "^7.18.4"
},
"scripts": {
"build": "tsc -p tsconfig.json",
"dev": "tsc -p tsconfig.json --watch",
"build": "vite build",
"dev": "vite",
"lint": "eslint .",
"typecheck": "tsc -p tsconfig.json --noEmit",
"clean": "rimraf dist"
},
"devDependencies": {
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"@vitejs/plugin-react": "^6.1.1",
"vite": "^8.3.0"
}
}