Skip to content

uxcore/uxcore

Repository files navigation

English | 中文

npm version Dependency Status devDependency Status

UXCore is a set of React Components that is designed for enterprise-class pc backend application.

  • Rich Library: more than 50 high quality React Components available

  • Focus on Enterprise-class App: Powerful but easy-to-use Form and Table.

  • Well Designed UI: designed for enterprise-class app to make work easy and happy.

Check out our documentation site for live examples.

Before posting an issue, please read the CHANGELOG and the README and the documentation to check the recently updated.

Installation

npm install uxcore --save

Usage

import js

import { Button } from 'uxcore';
ReactDOM.render(<Button />, mountNode);

import js as required

  • use babel-plugin-import (recommanded)

    // .babelrc or babel-loader option
    {
      "plugins": [
        ["import", { libraryName: "uxcore", camel2DashComponentName: false }]
      ]
    }
  • or, import manually

    import Button from 'uxcore/lib/Button';

import style package

@import '~uxcore/assets/iconfont.css';
@import '~uxcore/assets/orange.css';

React Compatibility

0.14.9 - 16.x

Browser Support

Mainstream browsers and Internet Explorer 9+.

For some broswers (such as IE), you need babel-polyfill.

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <!-- Polyfills -->
    <script src="https://g.alicdn.com/platform/c/babel-polyfill/6.26.0/dist/polyfill.min.js"></script>
  </head>
</html>

Contribute

Yes please! See the CONTRIBUTING for details.

License

This project is licensed under the terms of the MIT license