👨🏻‍💻👩🏻‍💻 Use Ant Design like a Pro!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

5.5 KiB

Language: 🇺🇸 | 🇨🇳

Ant Design Pro

An out-of-box UI solution for enterprise applications as a React boilerplate.

CI Preview Deploy Build With Umi Checked with Biome

light theme preview dark theme preview

Features

  • 💡 TypeScript: A language for application-scale JavaScript
  • 📜 Blocks: Build page with block template
  • 💎 Neat Design: Follow Ant Design specification
  • 📐 Common Templates: Typical templates for enterprise applications
  • 🚀 State of The Art Development: Newest development stack of React/umi/dva/antd
  • 📱 Responsive: Designed for variable screen sizes
  • 🎨 Theming: Customizable theme with simple config
  • 🌐 International: Built-in i18n solution
  • ⚙️ Best Practices: Solid workflow to make your code healthy
  • 🔢 Mock development: Easy to use mock development solution
  • UI Test: Fly safely with unit and e2e tests

Templates

- Dashboard
  - Analytic
  - Monitor
  - Workspace
- Form
  - Basic Form
  - Step Form
  - Advanced From
- List
  - Standard Table
  - Standard List
  - Card List
  - Search List (Project/Applications/Article)
- Profile
  - Simple Profile
  - Advanced Profile
- Account
  - Account Center
  - Account Settings
- Result
  - Success
  - Failed
- Exception
  - 403
  - 404
  - 500
- User
  - Login
  - Register
  - Register Result

Usage

Create a new project using umi create:

npx create-umi myapp
# Select "Ant Design Pro" template when prompted
cd myapp
npm install

Or Clone Directly

Clone or download this repository to your local machine:

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

Installation

npm install

Development

# Start development server (full version by default)
npm start

Simplify to Simple Version

This project includes all blocks by default. If you need a minimal version, run:

npm run simple

This will:

  • Remove extra page directories (dashboard, form, list/*, profile, result, exception, account, etc.)
  • Remove extra mock files
  • Replace routes with simple version
  • Remove extra dependencies from package.json

Note: This operation is irreversible and will permanently delete files.

Build

npm run build

Browsers support

Modern browsers.

Edge
Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
Opera
Opera
Edge last 2 versions last 2 versions last 2 versions last 2 versions

Contributing

Any type of contribution is welcome, here are some examples of how you may contribute to this project:

  • Use Ant Design Pro in your daily work.
  • Submit issues to report bugs or ask questions.
  • Propose pull requests to improve our code.
Contribution Leaderboard