且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

带有延迟加载模块和子路由的Angular 7路由器'**'通配符不起作用?

更新时间:2021-12-29 10:01:29

我认为您必须重定向到实际路线.有与此相关的一些主题,这里是一个.同样根据 Angular的示例,您可能必须从LazyModule导出RouterModule.

I believe you have to redirect to an actual route. There are a few topics related to this, here is one. Also per Angular's examples, you might have to export your RouterModule from LazyModule.