external-ui-extension.ts 492 B

1234567891011121314151617
  1. import { NgModule } from '@angular/core';
  2. import { RouterModule } from '@angular/router';
  3. import { hostExternalFrame } from '@vendure/admin-ui/core';
  4. @NgModule({
  5. imports: [
  6. RouterModule.forChild([
  7. hostExternalFrame({
  8. path: '',
  9. breadcrumbLabel: 'Test',
  10. extensionUrl: './assets/external-app/index.html',
  11. openInNewTab: false,
  12. }),
  13. ]),
  14. ],
  15. })
  16. export class ExternalUiExtensionModule {}