CRUD UI Command
Thecrud-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.
Usage
Options
Examples
Generate UI components for a User model
Generate UI components with Material UI theme
Generated Components
When you run thecrud-ui command, the following React components will be generated:
- List Component: Displays a table of all records with sorting and pagination
- Form Component: Provides a form for creating and editing records
- Detail Component: Shows detailed information for a single record
- Service: Contains API calls for CRUD operations
Example Component Structure
Example Usage in React Router
Related Commands
crud- Generate basic CRUD operationscrud-unified- Generate a complete CRUD setupdata-provider- Generate data providers for yourzopioproject