랭킹으로 돌아가기
weui for react
weuireactuiui-componentsreact-componentscomponent-librarycomponents
주요 지표
스타 성장
스타
2.9k
포크
482
주간 성장
—
이슈
79
1k2k
2015년 10월2017년 7월2019년 5월2021년 2월2022년 12월2024년 10월2026년 7월
아티팩트npm
npm install react-weuiREADME
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 weui@1.1.0 react-weui
With React Installed
npm install weui@1.1.0 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/react-weui@1.1.2
CSS
https://unpkg.com/react-weui@1.1.1/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)
관련 저장소
