Commit af748ea65805937758b8c32f48d3c0914040b5be
0 parents
init;
Showing
306 changed files
with
27103 additions
and
0 deletions
Too many changes to show.
To preserve performance only 6 of 306 files are displayed.
.gitignore
0 → 100644
.npmrc
0 → 100644
.prettierignore
0 → 100644
.prettierrc
0 → 100644
.umirc.ts
0 → 100644
| 1 | +++ a/.umirc.ts | ||
| 1 | +import { defineConfig } from 'umi'; | ||
| 2 | + | ||
| 3 | +export default defineConfig({ | ||
| 4 | + routes: [ | ||
| 5 | + { path: '/', redirect: '/login' }, | ||
| 6 | + { path: '/login', component: '@/routes/login/login' }, | ||
| 7 | + { path: '/indexPage', component: '@/routes/indexPage' }, | ||
| 8 | + ], | ||
| 9 | + | ||
| 10 | + npmClient: 'pnpm', | ||
| 11 | + dva: {}, | ||
| 12 | + plugins: ['@umijs/plugins/dist/dva'], | ||
| 13 | +}); |
package.json
0 → 100644
| 1 | +++ a/package.json | ||
| 1 | +{ | ||
| 2 | + "private": true, | ||
| 3 | + "author": "zhangzhen <525765282@qq.com>", | ||
| 4 | + "scripts": { | ||
| 5 | + "dev": "cross-env PORT=9000 umi dev", | ||
| 6 | + "build": "umi build", | ||
| 7 | + "postinstall": "umi setup", | ||
| 8 | + "setup": "umi setup", | ||
| 9 | + "start": "npm run dev" | ||
| 10 | + }, | ||
| 11 | + "dependencies": { | ||
| 12 | + "@ant-design/compatible": "^1.1.2", | ||
| 13 | + "@ant-design/icons": "^5.6.1", | ||
| 14 | + "antd": "^5.24.3", | ||
| 15 | + "antd-v4": "npm:antd@4.24.16", | ||
| 16 | + "lodash": "^4.17.21", | ||
| 17 | + "moment": "^2.30.1", | ||
| 18 | + "umi": "^4.4.6" | ||
| 19 | + }, | ||
| 20 | + "devDependencies": { | ||
| 21 | + "@types/react": "^18.0.33", | ||
| 22 | + "@types/react-dom": "^18.0.11", | ||
| 23 | + "@umijs/plugins": "^4.4.6", | ||
| 24 | + "cross-env": "^7.0.3", | ||
| 25 | + "prettier": "^2.8.8", | ||
| 26 | + "prettier-plugin-organize-imports": "^3.2.2", | ||
| 27 | + "prettier-plugin-packagejson": "^2.4.3", | ||
| 28 | + "typescript": "^5.0.3" | ||
| 29 | + } | ||
| 30 | +} | ||
| 0 | \ No newline at end of file | 31 | \ No newline at end of file |