Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: MGNLFE-24 (MGNLFE-29: rendererContext > editorContext)

...

Code Block
title/spa-angular-minimal/src/app/root.component.ts
  constructor(private http: HttpClient, private router: Router, private rendererContexteditorContext: RendererContextServiceEditorContextService) {
    this.rendererContexteditorContext.setComponentMapping({
      'angular-magnolia-int:pages/home': HomeComponent,
      'angular-magnolia-int:pages/about': AboutComponent,
      'angular-magnolia-int:components/title': TitleComponent,
      'angular-magnolia-int:components/componentWithArea': ComponentWithAreaComponent,
      'angular-magnolia-int:components/navigation': NavigationComponent,
    });
  }

...