Files
smart-project/h5-app/package.json
jesxion c5508a1927 feat: scaffold ant design mobile frontend
- Vite + React 18 + TypeScript + React Router v6 + Ant Design Mobile
- /v1 proxy to http://127.0.0.1:3201 in vite.config.ts
- Placeholder routes for / and /login
- Build verified passing

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-24 16:38:00 +08:00

25 lines
509 B
JSON

{
"name": "h5-app",
"private": true,
"version": "0.1.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview"
},
"dependencies": {
"antd-mobile": "^5.36.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^6.26.2"
},
"devDependencies": {
"@types/react": "^18.3.5",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.1",
"typescript": "^5.5.3",
"vite": "^5.4.2"
}
}