React-ZUI
Mobile web app 组件库, 基于React@16.
文档及代码演示
安装和使用
npm install --save react-zui
代码示例
;;; const App = <Page title="hello page" className="hello-page"> <List> <ListItem> Hello World! </ListItem> </List></Page>; ReactDOM;
结合React Router 4.0
//index.js ReactDOMFastClick //HomePage.js Component { return <Page title="home"> <Button type="primary" padding="10px"> hello this is home page </Button> </Page> }
二次开发
//克隆到本地
git clone git@github.com:junlongtao/react-zui.git
//安装依赖
cd react-zui & npm install
//构建package
npm run packages-build
//构建doc及完整项目示例,自动打开浏览器,开始探索!
npm run start
使用帮助
email 782570386@qq.com
License
The MIT License(http://opensource.org/licenses/MIT)