Sin descripción

偏右 12ae727fb9 Update package.json hace 6 años
config d15923c9ee Use Umi Permission Routing (#3587) hace 6 años
docker 54db4e59d3 Update nginx.conf (#2742) hace 7 años
functions 464912e7d0 html prettier (#3473) hace 7 años
mock 10ef3eaf08 pref: optimize performance (#3542) hace 6 años
public 4e392e43e6 [ImgBot] Optimize images (#3061) hace 7 años
scripts be6f46dee1 lint-prettier will direct write (#3318) hace 7 años
src 65ad840b05 fix the problem that breadcrumbNameMap does not contain hidden menus. (#3606) hace 6 años
tests da173d6092 try fix test error (#3424) hace 7 años
.dockerignore 8d57acc886 add preview use docker (#2890) hace 7 años
.editorconfig df02748020 remove unnecessary 'x' permission of some configuration files hace 7 años
.eslintignore 6e65ecd52c fix reloadSW no trigger error hace 7 años
.eslintrc.js 9da468f4ec fix: Eslint warning of Mock dependence (#3554) hace 6 años
.firebaserc f903f9aeaa support_firebase hace 7 años
.gitignore fd811da739 add .firebase in gitignore hace 7 años
.gitpod.yml 7afe65ce3e Added gitpod config (#3349) hace 7 años
.prettierignore 464912e7d0 html prettier (#3473) hace 7 años
.prettierrc 6ef237e517 merge master hace 7 años
.stylelintrc.json ac37440740 Enhance stylelint rules, fix propTypes error of TagSelect (#3518) hace 6 años
CODE_OF_CONDUCT.md 35129a98d0 Create CODE_OF_CONDUCT.md hace 8 años
Dockerfile 0745731b63 use node:latest-browsers images (#2966) hace 7 años
Dockerfile.dev 072b9c2dfc add docker support (#2459) hace 7 años
Dockerfile.hub 8d57acc886 add preview use docker (#2890) hace 7 años
LICENSE 2f51506c63 Update date in LICENSE (#3280) hace 7 años
README.md f503724d90 doc: add umi-badge (#3538) hace 6 años
README.ru-RU.md bd060c0643 Update README.ru-RU.md (#3539) hace 6 años
README.zh-CN.md f503724d90 doc: add umi-badge (#3538) hace 6 años
azure-pipelines.yml 941a061ded feat: add a demo that jump to details (#3502) hace 6 años
firebase.json 3c1cfabf26 Optimization: chnage firebase site script hace 7 años
jest-puppeteer.config.js fe94317e41 chore: upgrade jest-puppeteer and remove some puppeteer config hace 7 años
jest.config.js e876ec207e fix test (#2825) hace 7 años
jsconfig.json 81895705d9 use new alias @ which default set in umi hace 7 años
netlify.toml e7c8f808df add netlify.tomal (#2651) hace 7 años
package.json 12ae727fb9 Update package.json hace 6 años
tsconfig.json deb14330ad support use typescript hace 7 años
tslint.json deb14330ad support use typescript hace 7 años

README.md

English | 简体中文 | Русский

Ant Design Pro

An out-of-box UI solution for enterprise applications as a React boilerplate. [![Build With Umi](https://img.shields.io/badge/build%20with-umi-028fe4.svg?style=flat-square)](http://umijs.org/) [![Build Status](https://dev.azure.com/ant-design/ant-design-pro/_apis/build/status/ant-design.ant-design-pro?branchName=master)](https://dev.azure.com/ant-design/ant-design-pro/_build/latest?definitionId=1?branchName=master) [![Dependencies](https://img.shields.io/david/ant-design/ant-design-pro.svg)](https://david-dm.org/ant-design/ant-design-pro) [![DevDependencies](https://img.shields.io/david/dev/ant-design/ant-design-pro.svg)](https://david-dm.org/ant-design/ant-design-pro?type=dev) [![Gitter](https://img.shields.io/gitter/room/ant-design/pro-english.svg?style=flat-square&logoWidth=20&logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgd2lkdGg9IjEyMzUiIGhlaWdodD0iNjUwIiB2aWV3Qm94PSIwIDAgNzQxMCAzOTAwIj4NCjxyZWN0IHdpZHRoPSI3NDEwIiBoZWlnaHQ9IjM5MDAiIGZpbGw9IiNiMjIyMzQiLz4NCjxwYXRoIGQ9Ik0wLDQ1MEg3NDEwbTAsNjAwSDBtMCw2MDBINzQxMG0wLDYwMEgwbTAsNjAwSDc0MTBtMCw2MDBIMCIgc3Ryb2tlPSIjZmZmIiBzdHJva2Utd2lkdGg9IjMwMCIvPg0KPHJlY3Qgd2lkdGg9IjI5NjQiIGhlaWdodD0iMjEwMCIgZmlsbD0iIzNjM2I2ZSIvPg0KPGcgZmlsbD0iI2ZmZiI%2BDQo8ZyBpZD0iczE4Ij4NCjxnIGlkPSJzOSI%2BDQo8ZyBpZD0iczUiPg0KPGcgaWQ9InM0Ij4NCjxwYXRoIGlkPSJzIiBkPSJNMjQ3LDkwIDMxNy41MzQyMzAsMzA3LjA4MjAzOSAxMzIuODczMjE4LDE3Mi45MTc5NjFIMzYxLjEyNjc4MkwxNzYuNDY1NzcwLDMwNy4wODIwMzl6Ii8%2BDQo8dXNlIHhsaW5rOmhyZWY9IiNzIiB5PSI0MjAiLz4NCjx1c2UgeGxpbms6aHJlZj0iI3MiIHk9Ijg0MCIvPg0KPHVzZSB4bGluazpocmVmPSIjcyIgeT0iMTI2MCIvPg0KPC9nPg0KPHVzZSB4bGluazpocmVmPSIjcyIgeT0iMTY4MCIvPg0KPC9nPg0KPHVzZSB4bGluazpocmVmPSIjczQiIHg9IjI0NyIgeT0iMjEwIi8%2BDQo8L2c%2BDQo8dXNlIHhsaW5rOmhyZWY9IiNzOSIgeD0iNDk0Ii8%2BDQo8L2c%2BDQo8dXNlIHhsaW5rOmhyZWY9IiNzMTgiIHg9Ijk4OCIvPg0KPHVzZSB4bGluazpocmVmPSIjczkiIHg9IjE5NzYiLz4NCjx1c2UgeGxpbms6aHJlZj0iI3M1IiB4PSIyNDcwIi8%2BDQo8L2c%2BDQo8L3N2Zz4%3D)](https://gitter.im/ant-design/pro-english?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) [![Join the chat at https://gitter.im/ant-design/ant-design-pro](https://img.shields.io/gitter/room/ant-design/ant-design-pro.svg?style=flat-square&logoWidth=20&logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgd2lkdGg9IjkwMCIgaGVpZ2h0PSI2MDAiIHZpZXdCb3g9IjAgMCAzMCAyMCI%2BDQo8ZGVmcz4NCjxwYXRoIGlkPSJzIiBkPSJNMCwtMSAwLjU4Nzc4NSwwLjgwOTAxNyAtMC45NTEwNTcsLTAuMzA5MDE3SDAuOTUxMDU3TC0wLjU4Nzc4NSwwLjgwOTAxN3oiIGZpbGw9IiNmZmRlMDAiLz4NCjwvZGVmcz4NCjxyZWN0IHdpZHRoPSIzMCIgaGVpZ2h0PSIyMCIgZmlsbD0iI2RlMjkxMCIvPg0KPHVzZSB4bGluazpocmVmPSIjcyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNSw1KSBzY2FsZSgzKSIvPg0KPHVzZSB4bGluazpocmVmPSIjcyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTAsMikgcm90YXRlKDIzLjAzNjI0MykiLz4NCjx1c2UgeGxpbms6aHJlZj0iI3MiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEyLDQpIHJvdGF0ZSg0NS44Njk4OTgpIi8%2BDQo8dXNlIHhsaW5rOmhyZWY9IiNzIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxMiw3KSByb3RhdGUoNjkuOTQ1Mzk2KSIvPg0KPHVzZSB4bGluazpocmVmPSIjcyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTAsOSkgcm90YXRlKDIwLjY1OTgwOCkiLz4NCjwvc3ZnPg%3D%3D)](https://gitter.im/ant-design/ant-design-pro?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) ![](https://user-images.githubusercontent.com/8186664/44953195-581e3d80-aec4-11e8-8dcb-54b9db38ec.png)

2.0 Released Now! 🎉🎉🎉

Announcing Ant Design Pro 2.0.0

Translation Recruitment :loudspeaker:

We need your help: https://github.com/ant-design/ant-design-pro/issues/120

Features

  • :gem: Neat Design: Follow Ant Design specification
  • :triangular_ruler: Common Templates: Typical templates for enterprise applications
  • :rocket: State of The Art Development: Newest development stack of React/umi/dva/antd
  • :iphone: Responsive: Designed for variable screen sizes
  • :art: Theming: Customizable theme with simple config
  • :globe_with_meridians: International: Built-in i18n solution
  • :gear: Best Practices: Solid workflow to make your code healthy
  • :1234: Mock development: Easy to use mock development solution
  • :white_check_mark: 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

Use bash

$ git clone https://github.com/ant-design/ant-design-pro.git --depth=1
$ cd ant-design-pro
$ npm install
$ npm start         # visit http://localhost:8000

Use by docker

# preview
$ docker pull antdesign/ant-design-pro
$ docker run -p 80:80 antdesign/ant-design-pro
# open http://localhost

# dev
$ npm run docker:dev

# build
$ npm run docker:build


# production dev
$ npm run docker-prod:dev

# production build
$ npm run docker-prod:build

Use Gitpod

Open the project in Gitpod (free online dev environment for GitHub) and start coding immediately.

Open in Gitpod

More instructions at documentation.

Browsers support

Modern browsers and IE11.

IE / EdgeFirefoxChrome
IE / Edge
Firefox
Chrome
SafariSafari OperaOpera IE11, 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.