Package Exports
- loopback-component-react-admin
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (loopback-component-react-admin) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
loopback-component-react-admin
Support react-admin for Loopback 3.0.
Install on Loopback as a component
NPM
- Run
npm install --save loopback-component-react-admin - Set the module in your
component-config.json(loopback server endpoint).
"loopback-component-react-admin": {
"pattern": [
"*.find"
],
// More options here
}Yarn
We recommend to use yarn instead of npm:
yarn add loopback-component-react-admin- Set the module in your
component-config.json
"loopback-component-react-admin": {
"pattern": [
"*.find"
],
// More options here
}Options
pattern: Array of String
Method patterns that Content-Range header will be added.
Accepted patterns: See https://loopback.io/doc/en/lb3/Remote-hooks.html#wildcards.
Default value: [ "*.find" ], which auto added to find method of all models.
Note
This is the updated version of loopback3-xTotalCount. On client side (mean react-admin), we don't need to change anything, just use ra-data-simple-rest as usual.