Skip to content

Commit

Permalink
docs: update feild third sippoet
Browse files Browse the repository at this point in the history
  • Loading branch information
chikara committed Apr 29, 2017
1 parent 9e1e6a1 commit aee4525
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Expand Up @@ -33,7 +33,7 @@ This library documents is published at [GitHub Pages](https://chikara-chan.githu

## Third Support

Support [babel-plugin-import](https://github.com/ant-design/babel-plugin-import) for loading modules on demand.
Supports [babel-plugin-import](https://github.com/ant-design/babel-plugin-import) for loading modules on demand.

``` json
// .babelrc
Expand All @@ -51,6 +51,12 @@ Support [babel-plugin-import](https://github.com/ant-design/babel-plugin-import)
import {subModule, ...others} from 'invincible'
```

Alternatively, using webpack 2 feature [tree-shaking](https://webpack.js.org/guides/tree-shaking/).

``` js
import {subModule, ...others} from 'invincible'
```

## Links
[https://chikara-chan.github.io/invincible/](https://chikara-chan.github.io/invincible/)

Expand Down

0 comments on commit aee4525

Please sign in to comment.