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.