weui/react-weui

weui for react

JavaScript

2,853

295 commits

updated Aug 6, 2020

See the code

README

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 [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

react-weui

1.0.0

License

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

component-library
components
react
react-components
ui
ui-components
weui

weui/react-weui

weui for react

JavaScript

2,853

295 commits

updated Aug 6, 2020

See the code

README

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 [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

react-weui

1.0.0

License

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

component-library
components
react
react-components
ui
ui-components
weui

Project health

Overall

3.5/10

Maintained

0/10

Code review

7/10
OpenSSF Scorecard

Latest release

1.2.3 · Jul 23, 2020

Releases this year

0

Significant stargazers

Fantix King

628 followers · starred Jun 2016

Jon Church

312 followers · starred Nov 2017

fridays

73 followers · starred Apr 2019