Skip to content

BoWang816/GridManager-antDesign-skin

Repository files navigation

Welcome to gridmanager-antdesign-skin 👋

Version Documentation Maintenance

GridManager适配ant Design组件库样式

Rely

gridmanager-react

Install

npm install gridmanager-antdesign-skin

Usage

  • 引入js包,即可使用皮肤以及皮肤内部预设的配置
<script src="../node_modules/gridmanager-antdesign-skin"></script>

import "gridmanager-antdesign-skin"
  • react配置
import ReactGridManager from 'gridmanager-react';
import "gridmanager-antdesign-skin"

class App extends Component {
  const option = {
    // 正常配置即可
    xxx: xxx
  };
    render() {
      return <ReactGridManager
                option={option} // 也可以将option中的配置项展开
                height={'100%'} // 展开后的参数会覆盖option中的值
            />
    }
}
  • 其他框架配置:

    可直接拿到源码,在你自己项目中引入源码中的gridmanager-reset.less文件与ajaxPage.tpl.html,然后自己配置以下配置项。即可将该皮肤本地化。 gridmanagerAntdOption

dev

  • npm install

  • npm run start

  • http://localhost:2020

publish

  • update package.json version
  • npm run build
  • cd dist
  • npm publish

Author

👤 bo.wang

Show your support

Give a ⭐️ if this project helped you!


This README was generated with ❤️ by readme-md-generator