Skip to content

Commit 5e259c7

Browse files
committed
Update How to use
1 parent a0aee84 commit 5e259c7

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@
22

33
Loopback-style REST Client for [admin-on-rest](https://github.com/marmelab/admin-on-rest), the frontend framework for building admin applications on top of REST services.
44

5+
## How to use
6+
7+
1. `yarn add aor-loopback`
8+
2. On your `App.js`, add this:
9+
10+
```
11+
import loopbackRestClient from 'aor-loopback';
12+
13+
...
14+
15+
<Admin restClient={loopbackRestClient('http://my.api.url/api')} ...>
16+
```
17+
518
## License
619

720
This module is licensed under the [MIT Licence](LICENSE).

0 commit comments

Comments
 (0)