Skip to content
JavaScript HTML CSS
Branch: master
Clone or download
Pull request Compare This branch is 34 commits behind weui:master.
Latest commit 48ad933 Jul 19, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Update ISSUE_TEMPLATE.md Nov 22, 2016
docs update build scripts and fix errors Jul 18, 2017
example update build scripts and fix errors Jul 18, 2017
scripts update build scripts and fix errors Jul 18, 2017
src updating depenency Jul 14, 2017
test test fix Apr 16, 2017
.babelrc patch Dec 8, 2016
.editorconfig add .editorconfig Jan 22, 2016
.eslintrc
.gitignore update build scripts Apr 13, 2017
.npmignore readme Dec 8, 2016
.travis.yml use node 7 for travis Jul 18, 2017
CHANGELOG.md update build scripts and fix errors Jul 18, 2017
CONTRIBUTING.md update docs Oct 31, 2016
README.md update build scripts and fix errors Jul 18, 2017
package.json update build scripts and fix errors Jul 18, 2017
webpack.config.doc.js update build scripts and fix errors Jul 18, 2017
webpack.config.js update build scripts and fix errors Jul 18, 2017

README.md

React-WeUI Build Status npm version

WeUI Components build with React.

Coverage Status PRs Welcome QQ

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

Example

We have several examples on the documentation. Here is the first one to get you started:

// app.js

import React, { Component } 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

react-weui

1.0.0

License

The MIT License(http://opensource.org/licenses/MIT)

You can’t perform that action at this time.