Giter Club home page Giter Club logo

umi-antd-pro's Introduction

English | 简体中文 | Русский | Türkçe | 日本語

Ant Design Pro

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

Alita Build With Umi Build Status Dependencies DevDependencies Gitter Join the chat at https://gitter.im/ant-design/ant-design-pro Netlify Status

2.0 Released Now! 🎉🎉🎉

Announcing Ant Design Pro 2.0.0

Translation Recruitment 📢

We need your help: ant-design/ant-design-pro#120

Features

  • 💎 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

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 / Edge
IE / Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
Opera
Opera
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.

umi@^2.4.4 DONE Compiled successfully in 41505ms umi@^2.12.4 DONE Compiled successfully in 30196ms

umi-antd-pro's People

Contributors

afc163 avatar anderson-liu avatar andriijas avatar chenshuai2144 avatar ddcat1115 avatar depfu[bot] avatar flutterbest avatar guowenfh avatar happier2 avatar hzq001 avatar ilanus avatar imhele avatar jaredleechn avatar jljsj33 avatar kaoding avatar kennylbj avatar kjlmfe avatar m4jing avatar nikogu avatar puuuudding avatar rayronvictor avatar sorrycc avatar valleykid avatar wangyun122 avatar whatakitty avatar xiaohuoni avatar yesmeck avatar yoyo837 avatar yutingzhao1991 avatar zhongjiewu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

umi-antd-pro's Issues

Roadmap 2

2

Big Features

关于common目录下router.js的疑问

使用umi后,所有的理由信息可以靠umi配置生成,那么common目录下router.js存在的意义是什么?是因为umi没有提供可以路由列表的接口吗?

路由守卫

没有权限(退出登录之后),也可以直接访问所有页面

Roadmap 3

3

今天发现这个项目已经由100个star了,所以想着抽空继续把自己的一些奇奇怪怪的用法,加到这个项目中,基本文件还是跟着pro官方。所以想看pro相关的内容还是建议去pro官网。这个项目依旧作为一个测试项目。

保持风格

  • 约定路由

修改计划

  • 菜单数据改成静态数据
    将菜单数据从路由数据中解放出来,便于后续灵活使用静态数据、model、mock、serve实现
  • 路由权限保持使用 umi-plugin-authorize
    umi-plugin-authorize 依旧是我想要的约定式权限路由的实现方式,重新编写,跟上umi的版本。
  • Page和Layout跟上pro官方
    Page、Layout上写的比较规范难懂的代码,修改为更简单明了、新手向友好的代码
  • 重新从pro fock一份代码
    保持之前文件提交者的信息
  • 皮肤配置
    暂使用pro官方的方案-插件写了几次都有bug!先延后了。
  • mock数据国际化
    现在网站已经实现国际化,但是从服务端的请求数据,并没有实现国际化。会出现语言混用的情况。比如在pro的英文版本里面混用了大量的中文。尝试一下,根据umi的locale配置,加载不同的mock文件,或者直接提供配置约定的mock文件路径。感觉后面的方案,社区的需求性更高一点。umijs/umi#2018
  • 面包屑功能
    支持从菜单数据中读取数据,也支持单独设置。有些不在菜单中的页面也需要在页面中显示面包屑。

期望

 将这个项目用于项目开发,只需要编辑page、mock和静态资源。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.