Closed acivan closed 1 year ago
Due to changes in the router, route generation has been temporarily disabled. You can find more information about the new router here: http://victorsavkin.com/post/145672529346/angular-router
这是来自QQ邮箱的自动回复邮件。 您好,感谢您的来信,我将尽快给您回复。
如果你是用的rc版本,然后路由用的是
@angular/router
,那你只需要在组件上增加@Routes([])装饰就可以了。如果是用的
@angular/router-depracated
,那么在配置一级路由的时候,path配置为'/home/...'