React-Admin — Admin
Post in
六 21 九月 2019
The
const App = () => (
<Admin dataProvider={simpleRestProvider …The
const App = () => (
<Admin dataProvider={simpleRestProvider …| Action | Expected API request |
|---|---|
| Get list | GET http://my.api.url/posts?sort=[‘title’,’ASC’] |
| Get one record | GET http://my.api.url/posts/123 |
| Get several records | GET http … |
Resource allows you to define a component for each CRUD operation, using the following prop names:
import …npm install -g create-react-app
create-react-app test-admin
cd test-admin/
yarn add react-admin ra-data-json-server prop-types
yarn start
Page 1 / 1