All Projects → theprimone → Ant Design Pro Plus

theprimone / Ant Design Pro Plus

Licence: mit
✨ 基于 ant-design-pro 做一些微小的工作。

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Ant Design Pro Plus

React Antd Multi Tabs Admin
ts+react+antd-多页签后台模板(纯净版,非 antd pro!)
Stars: ✭ 73 (-17.05%)
Mutual labels:  boilerplate, antd, tabs, dashboard, admin, admin-dashboard, ant-design
Ant Design Pro
👨🏻‍💻👩🏻‍💻 Use Ant Design like a Pro!
Stars: ✭ 30,909 (+35023.86%)
Mutual labels:  boilerplate, antd, enterprise, dashboard, admin, ant-design
Dva Boot Admin
🍰 react admin dashboard ui LANIF-ADMIN --- react 16 + react-router 4 + dva 2 + antd 4 后台管理 脚手架
Stars: ✭ 1,553 (+1664.77%)
Mutual labels:  boilerplate, design, enterprise, admin, admin-dashboard, ant-design
React Antd Admin
用React和Ant Design搭建的一个通用管理后台
Stars: ✭ 1,313 (+1392.05%)
Mutual labels:  antd, dashboard, admin, admin-dashboard, ant-design
Sing App
💥Free and open-source admin dashboard template built with Bootstrap 4.5 💥
Stars: ✭ 1,187 (+1248.86%)
Mutual labels:  boilerplate, dashboard, admin, admin-dashboard
Light Blue Dashboard
🔥 Free and open-source admin dashboard template built with Bootstrap
Stars: ✭ 110 (+25%)
Mutual labels:  boilerplate, dashboard, admin, admin-dashboard
Vue Antd Admin
🐜 Ant Design Pro's implementation with Vue
Stars: ✭ 2,766 (+3043.18%)
Mutual labels:  design, antd, admin, ant-design
Ant Design Vue Pro
👨🏻‍💻👩🏻‍💻 Use Ant Design Vue like a Pro!
Stars: ✭ 8,965 (+10087.5%)
Mutual labels:  antd, dashboard, admin, ant-design
Material Kit React
React Dashboard made with Material UI’s components. Our pro template contains features like TypeScript version, authentication system with Firebase and Auth0 plus many other
Stars: ✭ 3,465 (+3837.5%)
Mutual labels:  firebase, dashboard, admin, admin-dashboard
Ng Notadd
In-middle background front-end solution based on angular material 基于Angular Material的中后台前端解决方案
Stars: ✭ 287 (+226.14%)
Mutual labels:  enterprise, dashboard, admin, admin-dashboard
Shards Dashboard Vue
A free Vue admin dashboard template pack featuring a modern design system and lots of custom templates and components.
Stars: ✭ 363 (+312.5%)
Mutual labels:  design, dashboard, admin, admin-dashboard
Ngx Admin
Customizable admin dashboard template based on Angular 10+
Stars: ✭ 23,286 (+26361.36%)
Mutual labels:  dashboard, admin, admin-dashboard
Sleek Dashboard
Sleek Dashboard - Free Bootstrap 4 Admin Template and UI Kit
Stars: ✭ 690 (+684.09%)
Mutual labels:  dashboard, admin, admin-dashboard
Vue Admin Beautiful
🚀🚀🚀vue3 admin,vue3.0 admin,vue后台管理,vue-admin,vue3.0-admin,admin,vue-admin,vue-element-admin,ant-design,vue-admin-beautiful-pro,vab admin pro,vab admin plus主线版本基于element-plus、element-ui、ant-design-vue三者并行开发维护,同时支持电脑,手机,平板,切换分支查看不同的vue版本,element-plus版本已发布(vue3,vue3.0,vue,vue3.x,vue.js)
Stars: ✭ 10,968 (+12363.64%)
Mutual labels:  admin, admin-dashboard, ant-design
Cleopatra
Admin Dashboard Template Built On Tailwind CSS
Stars: ✭ 521 (+492.05%)
Mutual labels:  dashboard, admin, admin-dashboard
Ng Zorro Antd Mobile
A configurable Mobile UI components based on Ant Design Mobile and Angular. 🐜
Stars: ✭ 709 (+705.68%)
Mutual labels:  antd, enterprise, ant-design
Bowtie
Create a dashboard with python!
Stars: ✭ 724 (+722.73%)
Mutual labels:  antd, dashboard, ant-design
Viron
☕️ Automated Design-based Management Console.
Stars: ✭ 925 (+951.14%)
Mutual labels:  dashboard, admin, admin-dashboard
Ant Admin
基于 antd 的后台管理平台, 在 react 中玩转 D3.js
Stars: ✭ 455 (+417.05%)
Mutual labels:  antd, admin, admin-dashboard
Jet Bridge
Jet Bridge – Admin Panel Framework for your application
Stars: ✭ 904 (+927.27%)
Mutual labels:  dashboard, admin, admin-dashboard

Ant Design Pro Plus

官方说明请参阅 /master/README.zh-CN

github pages GitHub license GitHub stars GitHub issues GitHub commit activity

Snapshot

✨ 新增特性

基于路由实现标签页切换

  • 两种标签页模式可选
    • 基于路由,每个路由只渲染一个标签页
    • 基于路由参数,计算出每个路由的所有参数的哈希值,不同的哈希值渲染不同的标签页
  • 可固定标签栏
  • 快捷操作
    • 刷新标签页 - window.reloadTab()
    • 关闭标签页 - window.closeTab()
    • 返回之前标签页 - window.goBackTab()
    • 关闭并返回之前标签页 - window.closeAndGoBackTab()
  • follow,路由定义中新增配置,默认打开方式是添加到所有标签页最后面,可通过配置该属性,使得一个标签页在 follow 指定的标签页后面打开(可参考查询页 Demo)

注:返回默认只会返回上次的路由,所以如果上次的路由没有关闭,会在两个路由之前反复横跳,当删除上次打开的标签页之后再调用该返回方法时只会打印警告。

代码结构

├── config
│   └── defaultSettings.ts   # 系统风格配置,新增关于 RouteTabs 的配置
├── src
│   └── components
│       └── RouteTabs        # 核心组件
│   └── hooks
│       └── common           # 使用到的 hook - `useReallyPrevious`
│   └── layouts
│       └── RouteTabsLayout  # 路由加载
│   └── pages
│       └── RouteTabsDemo    # 标签页功能展示

分支说明

v2-legacy

原仓库名称 ant design pro v2 plus ,代码移到此分支。重命名为 ant design pro plus 后,在 master 分支跟进 ant design pro 中的更新。

umi/v2.x

基于 [email protected]​2.x 的功能实现。

Q & A

基于 children 的标签页功能实现从 [email protected]​2.x 升级到 [email protected]​3.x 的问题

相关讨论和分析参考 umijs/umi#4425,最终分析得出了导致暂时无法升级的根本原因,PR umijs/umi#6101 修复了该问题,但需要使用 [email protected]​3.3.8 以上版本。

性能问题

可使用 withRouteTab 函数包装页面组件,避免页面反复渲染。值得注意的是,如果在页面中使用了一些特殊的状态,如 useLocation 这样的 hook,会导致无法优化。如果一定要用的话,可自行使用 useMemo 优化。

标签闪烁的问题

在切换的时候标签会出现闪烁的情况 #5,刚开始还没在意,后来发现了原因,参考 ant-design/ant-design#25343

预览页面不能使用动态路由

由于是部署到 Github Pages,配置了 exportStatic,故无法使用形如 /result/:id 的动态路由。又通过 isProductionEnv 变量避免登录逻辑等问题,如果有接口报错可忽略,重点是功能实现 _(:з」∠)_

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].