Skip to content

Commit

Permalink
docs: add how to use wx
Browse files Browse the repository at this point in the history
  • Loading branch information
BuptStEve committed Nov 13, 2018
1 parent 6eb6f6b commit f2689c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ $ yarn add tua-api

```js
import TuaApi from 'tua-api'

const tuaApi = new TuaApi({ reqType: 'wx' })
```

> 小程序还用不了 npm?[@tua-mp/service](https://tuateam.github.io/tua-mp/tua-mp-service/) 了解一下?
Expand Down
2 changes: 2 additions & 0 deletions docs/quick-start/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ $ yarn add tua-api

```js
import TuaApi from 'tua-api'

const tuaApi = new TuaApi({ reqType: 'wx' })
```

::: tip
Expand Down

0 comments on commit f2689c9

Please sign in to comment.