Skip to content

Commit

Permalink
chore: Clean up ui extension example
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbromley committed Nov 15, 2024
1 parent a12dedc commit b156a34
Showing 1 changed file with 1 addition and 31 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { PageLocationId, addNavMenuSection, registerPageTab } from '@vendure/admin-ui/core';
import { AngularUiComponent } from './angular-components/angular-ui/angular-ui.component';
import { addNavMenuSection } from '@vendure/admin-ui/core';

export default [
addNavMenuSection({
Expand All @@ -18,33 +17,4 @@ export default [
},
],
}),
//Testing page tabs on custom angular components
registerPageTab({
location: 'angular-ui' as PageLocationId,
tab: 'Example Tab 1',
route: '/extensions/ui-library/angular-ui',
tabIcon: 'star',
component: AngularUiComponent,
}),
registerPageTab({
location: 'angular-ui' as PageLocationId,
tab: 'Example Tab 2',
route: '/extensions/ui-library/angular-ui2',
tabIcon: 'star',
component: AngularUiComponent,
}),
registerPageTab({
location: 'react-ui' as PageLocationId,
tab: 'Example Tab 1',
route: '/extensions/ui-library/angular-ui',
tabIcon: 'star',
component: AngularUiComponent,
}),
registerPageTab({
location: 'react-ui' as PageLocationId,
tab: 'Example Tab 2',
route: '/extensions/ui-library/angular-ui2',
tabIcon: 'star',
component: AngularUiComponent,
}),
];

0 comments on commit b156a34

Please sign in to comment.