refactor: use react router

This commit is contained in:
ReaJason
2025-04-06 13:55:17 +08:00
parent cd231c5af7
commit fa206e8acc
12 changed files with 151 additions and 212 deletions
+9 -12
View File
@@ -15,17 +15,16 @@
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@tanstack/router-plugin": "^1.114.32",
"@types/node": "^22.13.17",
"@types/node": "^22.14.0",
"@types/react": "^19.1.0",
"@types/react-copy-to-clipboard": "^5.0.7",
"@types/react-dom": "^19.1.1",
"@types/react-syntax-highlighter": "^15.5.13",
"@vitejs/plugin-react": "^4.3.4",
"rimraf": "^6.0.1",
"tailwindcss": "^4.1.1",
"typescript": "^5.8.2",
"vite": "^6.2.4",
"tailwindcss": "^4.1.3",
"typescript": "^5.8.3",
"vite": "^6.2.5",
"vite-bundle-visualizer": "^1.2.1"
},
"dependencies": {
@@ -56,19 +55,15 @@
"@radix-ui/react-toggle": "^1.1.2",
"@radix-ui/react-toggle-group": "^1.1.2",
"@radix-ui/react-tooltip": "^1.1.8",
"@tailwindcss/vite": "^4.1.1",
"@tanstack/react-query": "^5.71.3",
"@tanstack/react-router": "^1.114.32",
"@tanstack/router-devtools": "^1.114.32",
"@tailwindcss/vite": "^4.1.3",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"cmdk": "^1.1.1",
"date-fns": "^4.1.0",
"embla-carousel-react": "^8.5.2",
"embla-carousel-react": "^8.6.0",
"i18next": "^24.2.3",
"input-otp": "^1.4.2",
"lucide-react": "^0.487.0",
"next-themes": "^0.4.6",
"react": "^19.1.0",
"react-copy-to-clipboard": "^5.1.0",
"react-day-picker": "9.6.4",
@@ -76,8 +71,10 @@
"react-hook-form": "^7.55.0",
"react-i18next": "^15.4.1",
"react-resizable-panels": "^2.1.7",
"react-router": "^7.5.0",
"react-router-dom": "^7.5.0",
"react-syntax-highlighter": "^15.6.1",
"recharts": "^2.15.1",
"recharts": "^2.15.2",
"sonner": "^2.0.3",
"tailwind-merge": "^3.1.0",
"tailwind-scrollbar": "^4.0.2",