I am trying to create a simple nested router. This sort of structure worked in the beta builds, but with the launch of the release candidate router I find myself stuck.
http://plnkr.co/edit/nn7KSJpqWuBpkxi1E6tJ
The plunkr above is a contrived version of my scenario. Despite having
@Routes([
new Route({ path: '/applications/...', component: ApplicationRouter })
])
the router doesn't appear to be recognising the non-terminal route.
Error: Uncaught (in promise): Cannot match any routes. Current segment: 'applications'. Available routes: ['/applications/...'].
在具有子路由的路由中,新路由器/...
不是必需的。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.