halseyspicy / hooks-admin Goto Github PK
View Code? Open in Web Editor NEW🚀🚀🚀 Hooks Admin,基于 React18、React-Router V6、React-Hooks、Redux、TypeScript、Vite2、Ant-Design 开源的一套后台管理框架。
Home Page: https://pro.spicyboy.cn
License: MIT License
🚀🚀🚀 Hooks Admin,基于 React18、React-Router V6、React-Hooks、Redux、TypeScript、Vite2、Ant-Design 开源的一套后台管理框架。
Home Page: https://pro.spicyboy.cn
License: MIT License
考虑下喽!
如题,并且路由跳转之前默认取消所有的请求,并不十分合理,比如menuList级别的request ,如果被提前终止会导致bug
path: src/routers/utils/authRouter.tsx
// * 在跳转路由之前,清除所有的请求 axiosCanceler.removeAllPending();
建议addPending时添加header判断
// axiosCanceler.addPending(config) // 修改为 config.headers!.notAllowCancel || axiosCanceler.addPending(config);
哈哈,大佬维护好了没,等的花儿要谢了
比如 Ant Design Pro Components , Ant Design Charts, AntV这几个一系列的库加入到项目中
3:38:54 PM [vite] http proxy error: 15:38:54
Error: self signed certificate in certificate chain
at TLSSocket.onConnectSecure (node:_tls_wrap:1532:34)
at TLSSocket.emit (node:events:527:28)
at TLSSocket._finishInit (node:_tls_wrap:946:8)
at TLSWrap.ssl.onhandshakedone (node:_tls_wrap:727:12)
为什么我登录会报这个错误?我把npm config set strict-ssl false这样设置了也不可以,求解。
关于 moment库已经处于维护阶段,未来是否有计划使用别的库来替换掉 moment 时间库么
vite里可以吧antd的moment替换成dayjs吗?
我这边试了下,日期组件,中文不生效呀,采用的是antd提供的方案。
让react也能像vue一样保存状态
预览地址:https://pro.spicyboy.cn/#/login
🚀🚀🚀 Hooks-Admin 一款基于 React18、React-RouterV6、React-Hooks、zustand、TypeScript、Vite4、Ant-Design5 的后台管理框架。
hooks.spicyboy.cn 我这里打不开,推荐用 Vercel 部署
发现 https://pro.spicyboy.cn/ 网址上的 hooks-admin 和这个仓库代码本地运行的,差别很大,线上运行是另一份代码?
React18、React-Router V6、React-Hooks、Redux-Toolkit、TypeScript、Vite4、Ant-Design5
1、使用 redux-toolkit + antd5 重构 Hooks-Admin
2、使用动态路由重构现在路由逻辑
3、使用 antd5 暗黑模式
4、新增多种主题配置
5、增加表格封装示例
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.