How to route to a Module as a child of a Module - Angular 2 RC 5

前端 未结 7 1182
暖寄归人
暖寄归人 2020-12-04 07:43

I am in the process upgrading an application I\'m working on to the latest Angular 2 release candidate. As part of this work I am attempting to use the NgModule spec and mig

相关标签:
7条回答
  • 2020-12-04 08:11

    I had the same problem.

    The answer here is pretty good using loadChildren :

              {
                 path: 'mypath',
                 loadChildren : () => myModule
              }
    

    https://github.com/angular/angular/issues/10958

    0 讨论(0)
提交回复
热议问题