Skip to content

Commit

Permalink
Update README to make installation more clear (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
probil authored and beeman committed Nov 15, 2016
1 parent b957ddd commit ad837af
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,26 @@ INSTALL
npm install --save loopback-ds-resultset-limit-mixin
```

Then you should register the mixin in your app by adding `../node_modules/loopback-ds-resultset-limit-mixin/dist` to the `mixins` property to your `server/model-config.json` like the following:
```js
{
"_meta": {
"sources": [
"loopback/common/models",
"loopback/server/models",
"../common/models",
"./models"
],
"mixins": [
"loopback/common/mixins",
"../node_modules/loopback-ds-resultset-limit-mixin/dist",
"../common/mixins"
]
}
}

```

CONFIG
=============

Expand Down

0 comments on commit ad837af

Please sign in to comment.