Languages and Tools
Html | Css | JavaScript | Es6 | TypeScript | Nodejs | Vue | React |
---|---|---|---|---|---|---|---|
ts+react+antd-多页签后台模板(纯净版,非 antd pro!)
Home Page: https://react-antd-multi-tabs-admin.4everland.website/
License: MIT License
你好兄弟
我把所有的包都更新后。发现customize-cra使用有问题,亮白主题皮肤不正常了。
还有就是你系统管理这块,可不可以把用户、角色、权限、菜单功能都完善一下呢?
// webpack.config.js
module.exports = override(
//增加路径别名的处理
addWebpackAlias({
'@': path.resolve('src')
}),
// ...
)
tsconfig.json文件里与你做了同样的配置,但是我的react-scripts版本是5.0.1
我没有安装这个包,为什么analyze包分析里面会存在打包了lodash这个库啊
热更新以后,页面点不动
我们现在需要用到通过地址栏动态路由来传递参数,这样方便后面打开一个别的页面后,刷新该tab,谢谢!
关于换肤的话 antd现在是有这个功能了 你可以看一下文档
https://ant.design/docs/react/customize-theme-variable-cn
多标签模式是否可以变为 可选能力
现在很多依赖的组件在npm下都安装不成功。
具体想法就是pro的混合菜单模式
默认你是用storage的,怎么换成session
大佬 怎么关闭顶部的菜单 显示到左侧啊 不习惯顶部菜单
比如路由权限的思路可以介绍的详细点,纯开代码有点累,毕竟不知道你的思路的。假如文档把思路写出来了,然后再跟着代码看逻辑的话要好点
无论选20条/页还是50条/页,列表都只能显示10条/页。
D:/Workspace/前端项目/base-react-ts-hooks/src/components/common/myUpload/index.tsx
TypeScript error in D:/Workspace/前端项目/base-react-ts-hooks/src/components/common/myUpload/index.tsx(65,6):
Type '{ children: Element; action: string; onStart: () => void; customRequest({ file, filename }: { file: any; filename: any; }): false | { abort(): void; }; className: string; listType: "picture-card"; showUploadList: false; }' is not assignable to type 'UploadProps'.
Types of property 'customRequest' are incompatible.
Type '({ file, filename }: { file: any; filename: any; }) => false | { abort(): void; }' is not assignable to type '(options: UploadRequestOption) => void'.
Types of parameters '__0' and 'options' are incompatible.
Type 'UploadRequestOption' is not assignable to type '{ file: any; filename: any; }'.
Property 'filename' is optional in type 'UploadRequestOption' but required in type '{ file: any; filename: any; }'. TS2322
63 |
64 | return (
65 | <Upload
| ^
66 | className="avatar-uploader"
67 | listType="picture-card"
68 | showUploadList={false}
npm install error
npm ERR! Could not resolve dependency:
npm ERR! peer react-redux@"^4.0.0 || ^5.0.0 || ^6.0.0" from [email protected]
Fix method
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
最好可以解决一下npm 依赖的问题
我想达到的是点击左侧菜单栏进入页面不缓存,页面会重新获取请求。点击tabPanes菜单时,页面走缓存
看到这个样式真的很棒,由于项目中用的是 ant-design-pro , 不知如何改造了,求大神指教
##请问支持微前端qiankun吗?
为啥当菜单局部在左侧时,菜单栏无法展开?
作者,您好!
我个人因为视力不好,喜欢亮白主题色。
请问设置默认主题色为亮白色?
谢谢!
好像并没有实现关于 /user/:id 这种动态路由匹配
鼠标右键菜单事件被阻止,无法弹出原生菜单
error Couldn't find package "immutable@*" required by "draft-js-multidecorators@^1.0.0" on the "npm" registry.
addWebpackPlugin这个api怎么使用啊?没有看到你有用这个api
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.