creact-ui

1.0.1 • Public • Published

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 (0.4.x)

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 using commonJS Module *Require Plugins
//import { Button } from 'react-weui'
 
//import Using ES6 syntax
import WeUI from 'react-weui';
 
//import styles
import 'weui';
import 'react-weui/lib/react-weui.min.css';
 
const {Button} = WeUI;
 
class App extends Component {
    render() {
        return (
            <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 alpha

0.4.3 Demo

License

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    2
  • 1.0.0
    2

Package Sidebar

Install

npm i creact-ui

Weekly Downloads

4

Version

1.0.1

License

MIT

Last publish

Collaborators

  • gisbug