MCPcopy Index your code
hub / github.com/WinmezzZ/react-antd-admin

github.com/WinmezzZ/react-antd-admin @1.0.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 1.0.0 ↗ · + Follow
119 symbols 370 edges 87 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

English | 简体中文

React Antd Admin

React Hooks + Typescript 最佳实践。

React ant-design Typescript Redux license

  • 预览: https://winme.weishour.com
  • 文档: https://winme.weishour.com/documentation

✨ 特性

  • 💡 TypeScript: 应用程序级 JavaScript 的语言
  • 📜 区块: 通过区块模板快速构建页面
  • 💎 Hooks: 使用最新的 react hooks API 代替传统的 class API
  • 📐 常见设计模式: 提炼自中后台应用的典型页面和场景
  • 🚀 最新技术栈: 使用 React/hooks/Redux/antd/typescript 等前端前沿技术开发
  • 📱 响应式: 针对不同屏幕大小设计
  • 🎨 主题: 动态切换主题色
  • 🌐 国际化: 内建业界通用的国际化方案
  • ⚙️ 最佳实践: 良好的工程实践助您持续产出高质量代码
  • 🔢 Mock 数据: 实用的本地数据调试方案
  • 使用: 完整的文档和详细的注释,无阻碍使用

📦 下载

$ git clone https://github.com/WinmezzZ/react-antd-admin.git
$ cd react-antd-admin
$ npm install
$ npm start

🔨 构建

npm install
npm run build

此项目默认部署在根站点上,如果要部署在子站点上,则需要设置公共路径,在本项目根目录下的 .env 文件中添加 PUBLIC_URL=YOUR_CHILD_PATH

🖥 浏览器支持

现代浏览器和 Internet Explorer 10+

| IE / Edge

IE / Edge | Firefox

Firefox | Chrome

Chrome | Safari

Safari | Opera

Opera | Electron

Electron | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | IE11, Edge | last 2 versions | last 2 versions | last 2 versions | last 2 versions | last 2 versions |

🤝 贡献

我们非常欢迎您的贡献,您可以通过以下方式与我们共建 😃

  • 在你的公司或个人项目中使用 React Antd Admin
  • 通过 GitHub issues 报告 bug 或进行咨询。
  • 提交 Pull Request 改进代码。

强烈推荐阅读 《提问的智慧》《如何向开源社区提问题》《如何有效地报告 Bug》《如何向开源项目提交无法解答的问题》,更好的问题更容易获得帮助。

Extension points exported contracts — how you extend this code

Window (Interface)
(no doc)
src/react-app-env.d.ts
Locales (Interface)
(no doc)
src/interface/index.ts
Props (Interface)
(no doc)
src/pages/layout/customIcon.tsx
WrapperRouteProps (Interface)
(no doc)
src/routes/config.tsx
Props (Interface)
(no doc)
src/locales/index.tsx
TagState (Interface)
(no doc)
src/interface/layout/tagsView.interface.ts
Props (Interface)
(no doc)
src/pages/layout/header.tsx
MenuItem (Interface)
(no doc)
src/interface/layout/menu.interface.ts

Core symbols most depended-on inside this repo

useLocale
called by 14
src/locales/index.tsx
useAppState
called by 13
src/stores/index.ts
setUserItem
called by 8
src/stores/user.store.ts
useAppDispatch
called by 7
src/stores/index.ts
noticeListFilter
called by 6
src/pages/layout/notice.tsx
request
called by 5
src/api/request.ts
intercepter
called by 5
src/mock/config.ts
addTag
called by 3
src/stores/tags-view.store.ts

Shape

Function 83
Interface 33
Enum 3

Languages

TypeScript100%

Modules by API surface

src/pages/dashboard/overview.tsx8 symbols
src/pages/permission/config/useGetRoleForm.tsx7 symbols
src/stores/tags-view.store.ts5 symbols
src/pages/layout/menu.tsx5 symbols
src/pages/layout/header.tsx5 symbols
src/interface/layout/notice.interface.ts5 symbols
src/pages/permission/config/roleTable.tsx4 symbols
src/pages/permission/config/roleAuthorizeDialog.tsx4 symbols
src/interface/user/login.ts4 symbols
src/stores/user.store.ts3 symbols
src/pages/permission/config/roleSearch.tsx3 symbols
src/pages/permission/config/roleModifyDialog.tsx3 symbols

For agents

$ claude mcp add react-antd-admin \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact