项目方案
- react 框架
- reset-css 样式重置
- antd UI库
- axios 网络请求
- redux 状态管理
- react-router-dom 路由
使用css方案BEM
参考代码:https://gitee.com/zqingle/lege-react-management
类型约束报错解决办法 tsconfig.json 配置
{
"compilerOptions": {
"suppressImplicitAnyIndexErrors":true,
}
}
浏览器开发工具:
Redux DevTools
VSCode 插件:
JSON to TS