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.

Contents

Examples

// router.ts or main.ts

import { CAdminTablePage } from 'coalesce-vue-vuetify';

const router = new Router({
    // ...
    routes: [
        // ... other routes
        {
            path: '/admin/:type',
            name: 'coalesce-admin-list',
            component: CAdminTablePage,
            props: true,
        },
    ]
})

Props

type: string
The PascalCase name of the type to be listed.
list?: ListViewModel
An optional ListViewModel that will be used if provided instead of the one the component will otherwise create automatically.