ViewActionRouter
Overview
Resolves the correct view component for a given model action at runtime, delegating to CRUD views, workflow transition views, or dynamically imported custom action views as appropriate.
Props
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| app | string | yes | Django app label that owns the model. | |
| model | string | yes | Django model name whose action should be resolved. | |
| pk | string|number|array | "" | Primary key(s) forwarded to the resolved action view. | |
| action | string | yes | Name of the action to resolve and render. |
Source
client/lib/views/ViewActionRouter.vue