boards-preset-ra
v1.0.4
Published
A boards-cli preset for react-admin.
Downloads
11
Readme
boards-preset-ra
React-admin preset for the Boards CLI.
Installing
yarn global add boards-preset-ra
or npm i -g boards-preset-ra
Quick start
To see this boards preset in action and create a fully functional dashboard in under 5 minutes, follow these steps:
yarn global add boards-cli boards-preset-ra
boards ra:init my-project
cd my-project
boards ra:resource posts
boards ra:resource albums
yarn start
- Pick up your jaw, and get productive.
Tasks
This preset adds the following tasks to your project.
ra:init
Initializes a new react-admin project.
boards ra:init my-project
ra:resource
Create a full resource with edit, create, list and delete enabled. Also attaches resource to App.js.
boards ra:resource resourceName
ra:list
Creates a new resource with only listing (readonly resource).
boards ra:list resourceName
ra:edit
Adds edit to an existing resource that previously didn't have edit enabled.
boards ra:edit resourceName
ra:create
Adds create to an existing resource that previously didn't have create enabled.
boards ra:create resourceName
License
MIT