Giter VIP home page Giter VIP logo

antd-doddle's Introduction

介绍

antd-doddle是源于日常中后台系统开发不断的积累,如其名一样,让antd使用更加得心应手,实现业务的快速迭代。其中包含一部分的对antd组件深度封装,一些高频次自定义业务组件,和一些常用方法库的封装,支持按需打包。 支持typescript

使用文档

文档地址: http://doc.closertb.site, 首次加载较慢,请耐心等候。

安装

antd-doddle是一个多包的项目,组件与方法分离,依赖于react环境与antd组件库,支持treeShaking。

安装包

npm i antd-doddle --save

使用

使用包中的组件

import { formRender } from 'antd-doddle';

使用包中的方法

import { getEnumObject } from 'antd-doddle/utils';

Change Log

2019-05-13

  • feat: 新增dynamicParams,配合field设置isDynamic属性,用于获取从异步接口获取回来的动态枚举,具体使用请参见Demo

2019-06-28

  • feat: 新增FormRender, RenderDetail, EnhanceTable三个组件的扩展方法
  • feat: 新增extendFieldTypes使用说明文档

2019-08-25

  • feat: ts重写组件库
  • feat: 新增model, throtle装饰器

2019-10-07

  • 组件库文档打包构建优化,将打包体积由3M缩小到2M

2019-10-13

  • 增加ImageLoad组件

2019-11-03

  • 增加文档库自动化构建部署更新

2019-11-03

  • 修改依赖

2019-11-03

  • 新增自定义Hooks

2020-03-01

  • feat: 新增1.4.0 beta版,支持Form表单联动

2020-05-01

  • feat: 添加sideEffects,更好的支持Webpack对ES模块的TreeShaking功能,但带来的代价是,样式的按需加载功能没了,需要全量引入import 'antd-doddle/dist/index.css,当然也可以使用import组件实现;

antd-doddle's People

Contributors

closertb avatar

Watchers

 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.