Giter VIP home page Giter VIP logo

react-antd-admin's Introduction

React-Antd-Admin

⚡ 介绍

本项目是基于 react 和 UI 库 ant design 创建的后台管理框架解决方案; 集成了状态管理,动态路由,api 请求,权限控制,主题,国际化等功能;

特性

  • 📐: 代码规模:原创精简版脚手架,主张最少,不臃肿
  • 🚅: 追求前沿:全站使用 React Hooks 开发,抛弃 Class
  • 💎: 优雅美观:基于 Ant Design 体系精心设计
  • 🚀: 流行技术:使用 React/Mobx/Antd 等前端前沿技术开发
  • 🎨: 主题样式:使用流行的暗黑模式主题,支持深/浅色主题切换

待办事项

  • 国际化
  • 主题
  • 单元测试,集成测试,UI 自动化测试等测试框架
  • eslint, prettier 文件保存自动校验,不走编辑器模式
  • jsx 如何不需要引入 react 自动编译
  • axios 的 baseURL

记录

登陆逻辑

如果未登陆状态,访问不存在的路由,直接到登录页 如果有登陆状态,访问不存在的路由,到 404 TODO

  • [ ]还没有根据二维菜单数组生成路由树;
  • [ ]如何根据菜单数据生成左侧的菜单控件;

路由逻辑

前端常量路由 后端返回的菜单第一个会是将来登陆进系统以后的主菜单;注意必须在 webpack 中把 publicPath 设置好,不然访问子路由可能访问不到;

react-antd-admin's People

Contributors

vito-lou avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.