c-admin-table-page
A full-featured page for interacting with a ListViewModel. Provides a c-admin-table and a c-admin-methods for the list. Designed to be routed to directly with vue-router.
Examples
ts
// router.ts or main.ts
// WITHOUT Vuetify A la carte:
import { CAdminTablePage } from 'coalesce-vue-vuetify';
// WITH Vuetify A-la-carte:
import { CAdminTablePage } from 'coalesce-vue-vuetify/lib';
const router = new Router({
// ...
routes: [
// ... other routes
{
path: '/admin/:type',
name: 'coalesce-admin-list',
component: CAdminTablePage,
props: true,
},
]
})
Props
type: string
type: string
The PascalCase name of the type to be listed.
list?: ListViewModel
list?: ListViewModel
An optional ListViewModel that will be used if provided instead of the one the component will otherwise create automatically.