问题
As I notice that when any error occurs in Angular 2
app, It breaks routing also. Is there any way to handle this and prevent break routing issue?
回答1:
No, almost any not handled error will break Angular app, not only router. You must handle/catch/prevent all errors.
来源:https://stackoverflow.com/questions/41873776/prevent-break-routing-issue-on-error-in-angular-2