Generate React components for CRUD operations
crud-ui
command generates React components for CRUD (Create, Read, Update, Delete) operations in your zopio
project. This command creates reusable UI components that connect to your backend API.
Option | Description |
---|---|
-m, --model <name> | Model name |
-f, --fields <fields> | Fields in format “name:type:label,age:number:Age” |
-o, --output <directory> | Output directory for UI components |
-t, --theme <theme> | UI theme (bootstrap, material) (default: “bootstrap”) |
-h, --help | Display help for command |
crud-ui
command, the following React components will be generated:
crud
- Generate basic CRUD operationscrud-unified
- Generate a complete CRUD setupdata-provider
- Generate data providers for your zopio
project