Giter VIP home page Giter VIP logo

ant-design-pro's Introduction

PKAQ Design extend Ant Design Pro

当前主分支 Lilith extend v2

交流QQ群: 83864896

运行前需要安装

  • git
  • nodejs
  • yarn

使用方式

$ git clone 
$ yarn install
$ yarn start         # visit http://localhost:8000

设置淘宝镜像

yarn config set registry https://registry.npm.taobao.org --global

需要补充得知识

目录说明

  • dist: 打包目录
  • mock: mock data
  • public: 公共资源
  • src
    • app 模块目录
    • assets 资源目录
    • common 公共组件
    • component 自定义组件
    • |- App: 高阶组件
    • |- Page: 内页包装器

snapshot

TIP: - 代码里针对namespace和model文件名进行了忽略大小写的处理 - reducer名字和effects名字不要重复,否则在调用的时候会出现混乱(优先effects>reducer)

问题

  • 不支model花式命名:当期版本model的文件名必须与所指定的namespace一致,因为router.js中是通过读取文件名来判断已经注册的model 中是否存在该model的,又由于存在namespace的唯一性约束,所以当两者不一致时无法通过此种方式判断对应文件名的model是否已经注册导致异常
  • Mirror Site in China: http://ant-design-pro.gitee.io

// 格式化代码 yarn run prettier

ant-design-pro's People

Contributors

afc163 avatar chenshuai2144 avatar nikogu avatar pkaq avatar ddcat1115 avatar yutingzhao1991 avatar sorrycc avatar yoyo837 avatar xiaohuoni avatar rayronvictor avatar whatakitty avatar valleykid avatar kennylbj avatar flutterbest avatar jaredleechn avatar anderson-liu avatar yesmeck avatar kaoding avatar andriijas avatar m4jing avatar kjlmfe avatar puuuudding avatar happier2 avatar guowenfh avatar hzq001 avatar wangyun122 avatar ilanus avatar f-loat avatar qjekingstar avatar iwizy avatar

Watchers

James Cloos avatar David Zhang avatar

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.