RegisterPageTab
registerPageTab
Add a tab to an existing list or detail page.
Example
providers.ts
import { registerPageTab } from '@vendure/admin-ui/core';
import { DeletedProductListComponent } from './components/deleted-product-list/deleted-product-list.component';
export default [
registerPageTab({
location: 'product-list',
tab: 'Deleted Products',
route: 'deleted',
component: DeletedProductListComponent,
}),
];
Signature
function registerPageTab(config: PageTabConfig): Provider
Parameters
config
parameter