pansyjs / React Admin
Licence: other
🎉 A magical react admin
Stars: ✭ 149
Programming Languages
typescript
32286 projects
Projects that are alternatives of or similar to React Admin
vue-admin-better
🚀🚀🚀vue admin,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,vue admin plus,vue admin pro
Stars: ✭ 12,962 (+8599.33%)
Mutual labels: admin, admin-template, ant-design
React Antd Admin
用React和Ant Design搭建的一个通用管理后台
Stars: ✭ 1,313 (+781.21%)
Mutual labels: admin, ant-design, single-page-app
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 (+7261.07%)
Mutual labels: admin, ant-design, admin-template
vue-iview-admin-template
Vue 2.0 admin template based on View UI
Stars: ✭ 43 (-71.14%)
Mutual labels: admin, admin-template, ant-design
React Antd
基于react + redux + immutable + less + ES6/7 + webpack2.0 + fetch + react-router + antd实现的SPA后台管理系统模板
Stars: ✭ 321 (+115.44%)
Mutual labels: admin, less, ant-design
React Antd Multi Tabs Admin
ts+react+antd-多页签后台模板(纯净版,非 antd pro!)
Stars: ✭ 73 (-51.01%)
Mutual labels: admin, less, ant-design
Gentelella
Welcome to Gentelella - Responsive Bootstrap Admin Application based on the Foundation of Symfony and Gentelella!
Stars: ✭ 100 (-32.89%)
Mutual labels: admin, admin-template
Layui Admin
基于layui和thinkphp6.0的快速后台开发框架。快速构建完善的管理后台,内置表单、表格的php生成,以及完善的RBAC权限管理。
Stars: ✭ 101 (-32.21%)
Mutual labels: admin, admin-template
Dva Boot Admin
🍰 react admin dashboard ui LANIF-ADMIN --- react 16 + react-router 4 + dva 2 + antd 4 后台管理 脚手架
Stars: ✭ 1,553 (+942.28%)
Mutual labels: admin, ant-design
Lightning Admin Angular
A mobile first design of a responsive admin template built with angular and bootstrap
Stars: ✭ 107 (-28.19%)
Mutual labels: admin, admin-template
Clever Bootstrap 4 Admin Template With Angularjs Angular 2 Support
Clever is Boostrap 4 Admin Template with Angular 2 and AngularJS support
Stars: ✭ 98 (-34.23%)
Mutual labels: admin, admin-template
Ant Design Pro Plus
✨ 基于 ant-design-pro 做一些微小的工作。
Stars: ✭ 88 (-40.94%)
Mutual labels: admin, ant-design
Material Dashboard
Material Dashboard - Open Source Bootstrap 5 Material Design Admin
Stars: ✭ 9,987 (+6602.68%)
Mutual labels: admin, admin-template
Blur Admin
AngularJS Bootstrap Admin Panel Framework
Stars: ✭ 11,274 (+7466.44%)
Mutual labels: admin, admin-template
Iview Vue Admin
iView vue Admin / An admin management system template
Stars: ✭ 105 (-29.53%)
Mutual labels: admin, admin-template
Adminlte
AdminLTE - Free admin dashboard template based on Bootstrap 4
Stars: ✭ 40,112 (+26820.81%)
Mutual labels: admin, admin-template
Vue2 Element
基于vue2 + vue-router2 + element-ui + vuex2 + fetch + webpack2 企业级后台管理系统最佳实践
Stars: ✭ 112 (-24.83%)
Mutual labels: admin, less
Vue Admin Next
Professional enterprise application with Vue Composition API, Multi-Module Design, Data Processing Flow and Friendly User Interface.
Stars: ✭ 125 (-16.11%)
Mutual labels: admin, admin-template
React Admin Template
开箱即用的中台前端/设计解决方案。
✨ 特性
- 🛡 TypeScript: 应用程序级 JavaScript 的语言
- 💎 优雅美观:基于 Ant Design 体系精心设计
- 🚀 最新技术栈:使用 React/umi/antd 等前端前沿技术开发
- 🌐 国际化:内建业界通用的国际化方案
- 🔢 Mock 数据:实用的本地数据调试方案
- ⚙️ 最佳实践:良好的工程实践助您持续产出高质量代码
- 🔐 优秀的权限设计:目前能找到的最好的权限实现方案
🎉 推荐
- 微前端版本 micro-frontends-template 正在同步开发中...
- 好用的水印组件 watermark
📜 目录
├── config # umi 相关配置
├── docker # docker 相关配置
├── mock # 本地模拟数据
├── public # 静态资源
├── src # 源代码
│ ├── assets # 本地静态资源
│ ├── common # 类型定义、常量
│ ├── components # 全局公用组件
│ ├── config # 全局配置
│ ├── layouts # 布局文件
│ ├── locales # 国际化资源
│ ├── models # 路由
│ ├── pages # 业务页面入口和常用模板
│ ├── services # 所有请求
│ ├── utils # 全局公用方法
│ ├── app.tsx # 运行时配置文件
│ ├── authority.ts # 权限定义文件
│ ├── global.less # 全局样式
│ └── typings.d.ts # 补充类型定义
├── package.json # package.json
└── tsconfig.json # tsconfig.json
🔐 关于权限
基于 umi-plugin-authority 提供权限功能,暴露 useAuthority
hooks 和 Authority
组件实现权限控制的能力
使用示例如下
import React from 'react';
import { useAuthority, Authority } from 'umi';
const PageA = props => {
const { foo } = props;
const { combinationVerify } = useAuthority();
// 使用 hooks 提供的能力
if (combinationVerify('module1/action1')) {
// 存在 module1/action1 权限,则...
}
return (
<div>
{/** 指定需要验证的权限 */}
<Authority
access="module1/action1"
fallback={<div>Can not read foo content.</div>}
>
Foo content.
</Authority>
{/** 直接指定权限 */}
<Authority
accessible={combinationVerify('module1/action1')}
fallback={<div>Can not update foo.</div>}
>
Update foo.
</Access>
{/** 复杂的校验 */}
<Authority
accessible={combinationVerify('(module1/action1 || module1/action2) && module1/action3')}
fallback={<div>Can not update foo.</div>}
>
Update foo.
</Access>
{/** children 为function */}
<Authority
accessible={combinationVerify('module3/action1')}
fallback={<div>Can not delete foo.</div>}
>
{(isMatch) => <span>权限校验结果: {isMatch}</span>}
</Authority>
</div>
);
};
⌨️ 本地开发
# 克隆项目到本地
git clone [email protected]:ts-react/react-admin-template.git
# 切换到项目目录
cd ./react-admin-template
# 安装依赖
yarn
# 启动服务
npm run start
🖥 支持环境
现代浏览器及 IE11。
IE / Edge | Firefox | Chrome | Safari | Opera |
---|---|---|---|---|
IE11, Edge | last 2 versions | last 2 versions | last 2 versions | last 2 versions |
👥 社区互助
Github Issue | 钉钉群 | 微信群 |
---|---|---|
issues |
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].