Skip to content

weui/react-weui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

494113a · Jul 23, 2020
Sep 23, 2019
Aug 4, 2019
Jul 19, 2017
Jul 19, 2017
Jul 22, 2020
Aug 4, 2019
Dec 8, 2016
Jan 22, 2016
Mar 11, 2017
Apr 13, 2017
Dec 8, 2016
Sep 4, 2019
Jul 23, 2020
Oct 31, 2016
Sep 23, 2019
Jul 23, 2020
Jul 18, 2017
Jul 19, 2017
Sep 4, 2019

Repository files navigation

React-WeUI

Build Status Github Workflow 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

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

react-weui

1.0.0

License

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

Packages

No packages published