Skip to content

Commit

Permalink
feat: 组件库改用 antd
Browse files Browse the repository at this point in the history
  • Loading branch information
xjq7 committed Apr 4, 2024
1 parent f954f6c commit b03ae27
Show file tree
Hide file tree
Showing 34 changed files with 1,032 additions and 1,123 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
"source.fixAll.eslint": "explicit"
},
"eslint.workingDirectories": [{ "mode": "auto" }],
"[typescript]": {
Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,12 +172,10 @@ npm install pnpm -g

### client

- vite + react + typescript
- vite + react + typescript + antd

- UI

daisyui 风格简约, 项目侵入性小, 样式复写方便

tailwindcss, 原子化 css, 在个人项目里使用优势很大, 节省时间、代码

且都支持按需引入, 体积更小
Expand Down
23 changes: 12 additions & 11 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
"preinstall": "npx only-allow pnpm"
},
"dependencies": {
"@antv/data-set": "^0.11.8",
"@antv/g2": "^4.2.8",
"@ant-design/cssinjs": "^1.19.1",
"ahooks": "^3.7.1",
"aliyun-oss-static-deploy": "^1.1.0",
"antd": "^5.16.0",
"axios": "^1.1.2",
"classnames": "^2.3.2",
"daisyui": "^2.31.0",
Expand All @@ -44,26 +44,27 @@
"@types/lodash": "^4.14.186",
"@types/marked": "^4.0.7",
"@types/node": "^18.8.5",
"@types/react": "^18.0.17",
"@types/react": "^18.0.21",
"@types/react-dom": "^18.0.6",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"@typescript-eslint/eslint-plugin": "^5.40.0",
"@typescript-eslint/parser": "^5.40.0",
"@vitejs/plugin-react": "^2.1.0",
"autoprefixer": "^10.4.12",
"eslint": "^8.0.1",
"eslint": "^8.25.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-standard-with-typescript": "^23.0.0",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-n": "^15.0.0",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-n": "^15.3.0",
"eslint-plugin-promise": "^6.0.1",
"eslint-plugin-react": "^7.31.10",
"less": "^4.1.3",
"postcss": "^8.4.18",
"postcss-antd-fixes": "^0.2.0",
"postcss-pxtorem": "^6.0.0",
"prettier": "^2.7.1",
"rollup-plugin-analyzer": "^4.0.0",
"tailwindcss": "^3.1.8",
"typescript": "*",
"vite": "^3.1.0"
"typescript": "^4.8.4",
"vite": "^3.1.7"
}
}
Loading

0 comments on commit b03ae27

Please sign in to comment.