Commit af748ea65805937758b8c32f48d3c0914040b5be

Authored by zhangzzzz
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
  1 +++ a/.gitignore
  1 +/node_modules
  2 +/.env.local
  3 +/.umirc.local.ts
  4 +/config/config.local.ts
  5 +/src/.umi
  6 +/src/.umi-production
  7 +/src/.umi-test
  8 +/dist
  9 +.swc
  10 +/.history
  11 +/.vscode
  12 +.DS_Store
... ...
.npmrc 0 → 100644
  1 +++ a/.npmrc
  1 +registry=https://registry.npmjs.com/
  2 +
... ...
.prettierignore 0 → 100644
  1 +++ a/.prettierignore
  1 +node_modules
  2 +.umi
  3 +.umi-production
... ...
.prettierrc 0 → 100644
  1 +++ a/.prettierrc
  1 +{
  2 + "printWidth": 80,
  3 + "singleQuote": true,
  4 + "trailingComma": "all",
  5 + "proseWrap": "never",
  6 + "overrides": [{ "files": ".prettierrc", "options": { "parser": "json" } }],
  7 + "plugins": ["prettier-plugin-organize-imports", "prettier-plugin-packagejson"]
  8 +}
... ...
.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 31 \ No newline at end of file
... ...