Skip to content

Commit c060945

Browse files
committed
readme
1 parent fab1087 commit c060945

File tree

2 files changed

+10
-17
lines changed

2 files changed

+10
-17
lines changed

.npmignore

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
.*rc
22
.*.yml
33
.idea
4+
.nyc_output
45
webpack.config.*
56
docs
67
test
78
example
89
coverage
9-
.c9
10+
.c9
11+
.github

README.md

+7-16
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,10 @@
44

55
[![Coverage Status](https://coveralls.io/repos/github/weui/react-weui/badge.svg?branch=master)](https://coveralls.io/github/weui/react-weui?branch=master) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](CONTRIBUTING.md#pull-requests) [![QQ](http://pub.idqqimg.com/wpa/images/group.png)](http://jq.qq.com/?_wv=1027&k=413HLfV)
66

7-
## Notes
8-
__Please See [0.4.x](https://github.com/weui/react-weui/tree/0.4.x) branch__ for current stable usage and usage with weui 0.4.x
9-
10-
__Master branch under active development for WeUI 1.0.0, Not Ready for use - APIs will change.__
11-
Check out the [1.0.0 Progression](https://github.com/weui/react-weui/projects/1) and [contributing guidelines](https://github.com/n7best/react-weui-1/blob/master/CONTRIBUTING.md) to see where you can help out.
12-
137
## Docs
148

15-
16-
0.4.x [documentation](https://n7best.github.io/react-weui-doc-0.4.0) with live examples.
17-
189
1.0.x [documentation](https://weui.github.io/react-weui/docs/) with live examples.
10+
0.4.x [documentation](https://n7best.github.io/react-weui-doc-0.4.0) with live examples.
1911

2012
## Installation (0.4.x)
2113

@@ -24,18 +16,16 @@ With [npm](http://npmjs.com/):
2416
If React is not installed
2517

2618
```
27-
npm install --save react@15.4.0 react-dom@15.4.0
28-
npm install --save weui@0.4.3 react-weui
19+
npm install --save react react-dom
20+
npm install --save weui@1.1.0 react-weui
2921
```
3022

3123
With React Installed
3224

3325
```
34-
npm install weui@0.4.3 react-weui --save
26+
npm install weui@1.1.0 react-weui --save
3527
```
3628

37-
Due to the browser compatibility issues, react-weui required [babel polyfill](https://babeljs.io/docs/usage/polyfill/) to work
38-
3929
## Example
4030

4131
We have several examples on the documentation. Here is the first one to get you started:
@@ -44,10 +34,11 @@ We have several examples on the documentation. Here is the first one to get you
4434

4535
import React, { Component } from 'react';
4636
import ReactDOM from 'react-dom';
47-
//commonJS Module *Require Plugins
37+
38+
//import using commonJS Module *Require Plugins
4839
//import { Button } from 'react-weui'
4940

50-
//ES6 Import
41+
//import Using ES6 syntax
5142
import WeUI from 'react-weui';
5243
import 'weui';
5344
const {Button} = WeUI;

0 commit comments

Comments
 (0)