MCPcopy
hub / github.com/ant-design/ant-design-pro

github.com/ant-design/ant-design-pro @v6.0.2 sqlite

repository ↗ · DeepWiki ↗ · release v6.0.2 ↗
325 symbols 821 edges 268 files 4 documented · 1%
README

Language : 🇺🇸 | 🇨🇳

Ant Design Pro

开箱即用的中台前端/设计解决方案。

CI GitHub release Build With Utoo Build With Umi Checked with Biome Ant Design

特性

  • :bulb: TypeScript: 应用程序级 JavaScript 的语言
  • :scroll: 区块: 通过区块模板快速构建页面
  • :gem: 优雅美观:基于 Ant Design 6 体系精心设计
  • :triangular_ruler: 常见设计模式:提炼自中后台应用的典型页面和场景
  • :rocket: 最新技术栈:使用 React 19/Umi Max 4/antd 6/utoopack 等前端前沿技术开发
  • :iphone: 响应式:针对不同屏幕大小设计
  • :art: 主题:基于 Tailwind CSS v4 + antd-style 的可配置主题满足多样化品牌诉求
  • :globe_with_meridians: 国际化:内建业界通用的国际化方案
  • :gear: 最佳实践:良好的工程实践助您持续产出高质量代码
  • :1234: Mock 数据:实用的本地数据调试方案
  • :robot: AI 助手:内置 AI 聊天助手页面,基于 Ant Design X
  • :white_check_mark: UI 测试:自动化测试保障前端产品质量

模板

- 欢迎页
- Dashboard
  - 分析页
  - 监控页
  - 工作台
- 表单页
  - 基础表单页
  - 分步表单页
  - 高级表单页
- 列表页
  - 搜索列表(文章/项目/应用)
  - 查询表格
  - 标准列表
  - 卡片列表
- 详情页
  - 基础详情页
  - 高级详情页
- 结果
  - 成功页
  - 失败页
- 异常
  - 403 无权限
  - 404 找不到
  - 500 服务器出错
- 用户
  - 用户中心页
  - 用户设置页
- AI 助手
- 账户
  - 登录
  - 注册
  - 注册成功

使用

开始使用

克隆或下载本项目到本地:

git clone --depth=1 https://github.com/ant-design/ant-design-pro.git myapp
cd myapp

安装依赖

npm install

开发

# 启动开发服务器(默认为完整版)
npm start

精简为简单版本

本项目默认包含所有区块。如果你需要一个最小化的版本,运行:

npm run simple

这将会: - 删除多余的页面目录(dashboard、form、list/*、profile、result、exception、account 等) - 删除多余的 mock 文件 - 替换路由为简单版本 - 从 package.json 中移除多余的依赖

注意:此操作不可逆,将永久删除文件。

构建

npm run build

更多信息请参考 使用文档

支持环境

现代浏览器。

| Edge

Edge | Firefox

Firefox | Chrome

Chrome | Safari

Safari | | --- | --- | --- | --- | | Edge | last 2 versions | last 2 versions | last 2 versions |

参与贡献

我们非常欢迎你的贡献,你可以通过以下方式和我们一起共建 :smiley::

  • 在你的公司或个人项目中使用 Ant Design Pro。
  • 通过 Issue 报告 bug 或进行咨询。
  • 提交 Pull Request 改进 Pro 的代码。

Extension points exported contracts — how you extend this code

RuleListItem (Interface)
(no doc)
cloudflare-worker/src/data/table.ts
ResponseStructure (Interface)
(no doc)
src/requestErrorConfig.ts
TagSelectOptionProps (Interface)
(no doc)
src/components/TagSelect/index.tsx
InfoCardProps (Interface)
(no doc)
src/pages/Welcome.tsx
TagSelectProps (Interface)
(no doc)
src/components/TagSelect/index.tsx
HeadingProps (Interface)
(no doc)
src/pages/Welcome.tsx
ErrorBoundaryState (Interface)
(no doc)
src/components/ErrorBoundary/index.tsx
ConversationItem (Interface)
(no doc)
src/pages/chatbot/data.d.ts

Core symbols most depended-on inside this repo

formatNumber
called by 13
src/utils/format.ts
fakeList
called by 5
cloudflare-worker/src/data/common.ts
addEventListener
called by 5
tests/setupTests.jsx
removeEventListener
called by 5
tests/setupTests.jsx
parseCount
called by 4
cloudflare-worker/src/routes/list.ts
run
called by 4
src/pages/list/search/projects/index.tsx
selectDate
called by 4
src/pages/dashboard/analysis/index.tsx
isActive
called by 4
src/pages/dashboard/analysis/index.tsx

Shape

Function 270
Interface 31
Method 15
Class 8
Enum 1

Languages

TypeScript100%

Modules by API surface

scripts/i18n-remove.js18 symbols
tests/setupTests.jsx16 symbols
src/pages/dashboard/monitor/components/Map/index.tsx12 symbols
src/components/ErrorBoundary/index.tsx11 symbols
src/pages/list/basic-list/index.tsx10 symbols
src/services/ant-design-pro/api.ts8 symbols
src/pages/user/register/index.tsx8 symbols
src/pages/user/login/index.tsx7 symbols
src/pages/form/advanced-form/index.tsx7 symbols
src/pages/account/center/index.tsx7 symbols
src/components/TagSelect/index.tsx7 symbols
src/pages/dashboard/analysis/index.tsx6 symbols

Dependencies from manifests, versioned

@ant-design/cli6.4.3 · 1×
@ant-design/icons6.2.3 · 1×
@ant-design/plots2.6.8 · 1×
@ant-design/x2.7.0 · 1×
@ant-design/x-markdown2.7.0 · 1×
@ant-design/x-sdk2.7.0 · 1×
@biomejs/biome2.4.13 · 1×
@cloudflare/workers-types4.20241127.0 · 1×
@commitlint/cli21.0.0 · 1×
@commitlint/config-conventional21.0.0 · 1×
@rc-component/util1.11.0 · 1×

For agents

$ claude mcp add ant-design-pro \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact