c-admin-display¶
Behaves the same as c-display, except any collection navigation properties will be rendered as links to an admin list page, and any models will be rendered as a link to an admin item page.
Links for collections are resolved from vue-router with a route name of coalesce-admin-list
, a type
route param containing the name of the collection's type, and a query parameter filter.<foreign key name>
with a value of the primary key of the owner of the collection. This route is expected to resolve to a c-admin-table-page, which is setup by default by the template outlined in Getting Started with Vue.
Links for single models are resolved from vue-router with a route name of coalesce-admin-item
, a type
route param containing the name of the model's type, and a id
route param containing the object's primary key. This route is expected to resolve to a c-admin-editor-page, which is setup by default by the template outlined in Getting Started with Vue.