chore(deps): 升级和替换依赖并更新文档

- 替换@vitejs/plugin-react-swc到@vitejs/plugin-react ^5.1.2
This commit is contained in:
zhengw
2026-01-06 14:10:24 +08:00
parent fcb43c0cbd
commit 0730d6feb7
4 changed files with 517 additions and 289 deletions

View File

@@ -1,4 +1,4 @@
# React + TypeScript + Vite + Arco Design
# React + TypeScript + Vite + Antd Design
# 项目运行 About 组件报错, 运行一次下面命令生成.cfg.ts 文件, 后面就可以直接用 vite 命令
@@ -15,7 +15,7 @@
- [React](https://react.dev/)
- [Vite](https://cn.vitejs.dev/)
- [TypeScript](https://www.typescriptlang.org/zh/)
- [Ant Design](https://ant-design.antgroup.com/components/overview-cn/) UI 库
- [Antd Design](https://ant-design.antgroup.com/index-cn/) UI 库
- [zustand](https://github.com/pmndrs/zustand) 状态管理库
- [dnd-kit](https://github.com/clauderic/dnd-kit) 拖拽插件
@@ -74,5 +74,3 @@ http://localhost:4000/
- useRequest(url: string, options) 参数传地址
- useRequest2(request: any, options) 参数传请求
# 多语言实现 i18next