项目
在 GitHub 查看
weui/react-weui
关于
用于 React 的 weui
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- -1
- 15天
- -2
- 1个月
- -3
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文React-WeUI
WeUI Components build with React.
Docs
1.0.x documentation with live examples. 0.4.x documentation with live examples.
Installation
With npm:
If React is not installed
npm install --save react react-dom
npm install --save [email protected] react-weui
With React Installed
npm install [email protected] react-weui --save
To use the development version (API might changes on realese version)
npm install react-weui@alpha --save
With browser (CDN by unpkg)
Javacript
https://unpkg.com/[email protected]
CSS
https://unpkg.com/[email protected]/build/dist/react-weui.css
Example
We have several examples on the documentation. Here is the first one to get you started:
// app.js
import React from 'react';
import ReactDOM from 'react-dom';
import { Button } from 'react-weui';
//import styles
import 'weui';
import 'react-weui/build/packages/react-weui.css';
const App = () => <Button>hello wechat</Button>;
ReactDOM.render((
<App/>
), document.getElementById('container'));
Contributing
Welcome and send the PR in! Development of components will happen in this github repo.
See the contributing guidelines for details.
Mobile Demo

License
The MIT License(http://opensource.org/licenses/MIT)
探索相关项目
加载中…
