RangeError: Maximum call stack size exceeded Lazy routing Angular 2

后端 未结 7 855
礼貌的吻别
礼貌的吻别 2020-12-13 23:38

I\'m trying to implement lazy routing into my app.

I have a very big project and when it was at router-deprecated I used AsyncRoute, but now it was removed.

7条回答
  •  执笔经年
    2020-12-14 00:13

    Try removing comments. When I updated my router to current in the application I was working on I commented a bunch of stuff out from the old router because I didn't want to lose it. After removing comments some of the strange errors went away.

提交回复
热议问题