back soft

مطالب مرتبط با «angular 2 release» در back soft | نویسنده: استخدام کار

Angular2 - Release candidate router not routing to child routes

Vote count: 0 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/7KSJpqWuBpkxi1E6tJ 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): Caot match any routes. Current segment: 'applications'. Available routes: ['/applications/...']. asked 1 min agomattdotdev 1 Answer Vote count: 0 As far as I know in the new router /... isn't necessary for routes that have c...

ادامه مطلب