+1
日增长
9,770
stars
2,465
forks
288
watchers
183
prs
994
issues
12
releases
README
Antd Admin Introduction Antd Admin provides production-style admin templates with modern frontend tooling, mock-first development, and practical testing coverage. Available templates: - basic: Admin template with plain-string UI copy (default English; no bundled Lingui) - with-lingui: Lingui i18n workflow (en + zh) with locale switching Scaffolding CLI: - init-antd-admin (from packages/create) Key Features - JWT login with access/refresh flow - Backend-driven menu and permission guards - URL-synced table state (pagination, sorting, search) - Dark mode theme switching - Mock-first local development (no backend required) - Modular API layer (defineApi per domain, Zod schemas, shared API_PREFIX) - Typed API boundaries and reusable CRUD patterns - React 19 + Ant Design 6 + TanStack Router/Query + Zustand + Zod - Optional Lingui-based i18n workflow (with-lingui) - E2E coverage with Playwright Quick Start Use init-antd-admin to scaffold a standalone app from official templates. Interactive bash npx init-antd-admin@latest pnpm dlx init-antd-admin@latest yarn dlx init-antd-admin@latest bunx init-antd-admin@latest Non-interactive examples bash pnpm dlx init-antd-admin@latest my-app --example basic -m pnpm pnpm dlx init-antd-admin@latest my-app --example with-lingui --skip-install Common options | Option | Description | | ---------------------------- | ------------------------------------------ | | [project-directory] | Target folder | | -e, --example | Template name (basic, with-lingui) or URL | | --example-path | Subpath inside remote repository | | -m, --package-manager | npm / pnpm / yarn / bun | | --skip-install | Skip dependency install | | --skip-transforms | Skip rewrite transforms | | --no-git | Skip git initialization | For detailed CLI behavior, see packages/create/README.md. AI / agent guidance Each template app keeps AGENTS.md as the single source of truth (Cursor, Claude Code, Codex, etc.). Monorepo overview: AGENTS.md at the repo root. Production docs: https://antd-admin-doc.zuiidea.top Links - Ant Design - React - Vite+ - TypeScript - Issues - Stars - PRs Welcome License MIT
Top issues
#1008如何在左侧栏新增一个itemMenu,新增一个路由/页面?23 comments · 2019-07-25#384关于权限管理14 comments · 2017-07-05#916我对antd系列的一点看法11 comments · 2018-11-18#1063权限路由问题8 comments · 2020-06-03#1062how to use other API ?7 comments · 2020-05-25#1130run 列表页显示总条目数正常 build 后总条目数显示异常 显示 {total}5 comments · 2022-04-08#1014建议创建一个不使用umi的分支4 comments · 2019-08-21#932antd有没有推荐更开放的富文本编辑器,或者自己开发的打算?4 comments · 2018-12-28
Latest release
6.0.0 6.0.0 2026-03-14Ai time, feel free to use ai 1. upgrade umi to v4 2. use umi locale instead of lingui 3. use zustand instead of dva 4. add @ant-design/x to run gpt dialog, for production you may need @ant-design/x-markdown 5. remove axios to keep it simple 6. remove echart and highcharts, since it's easy to import with ai 7. add page sys/menu back so it's easy to modify layout's menu Just keep it simple with limited dependencies. Have fun😊