React UI 组件库uiw v1.2.8 发布

uiw

高品质的UI工具包,基于React 16+的组件库。 💘

Github: https://github.com/uiw-react/uiw
文档:https://uiw-react.github.io/

安装

npm install uiw --save

快捷使用

import React from 'react';
import ReactDOM from 'react-dom';
import { Button } from 'uiw';

ReactDOM.render(
  <Button type="primary">Hello</Button>, 
  document.getElementById('app')
);

文档工具

请访问 uiw-react.github.io 网站了解更多

开发

要开发,运行自重新构建,获取代码:

$ git clone https://github.com/uiw-react/uiw.git
$ cd uiw
$ npm install # or  yarn install

要开发,运行自重新构建:

# Run the app
# Restart the app automatically every time code changes. 
# Useful during development.
$ npm start

打开浏览器并访问:http://127.0.0.1:2087

更新文档

npm run deploy

文件目录说明

├── dist           # 生成的文档静态文件目录
├── docs           # 文档的源文件
├── lib            
├── package.json
├── script
└── src            # React组件在此

License

Licensed under the MIT License.

posted @ 2017-10-29 11:17  小弟调调™  阅读(3469)  评论(2编辑  收藏  举报