Closed ruanzy closed 8 years ago
const routes: RouterConfig = [ { path:'', component: IndexComponent, children:[ { path: 'a', component: AComponent } ] }, { path: 'login', component: LoginComponent } ];
EXCEPTION: Error: Uncaught (in promise): Error: Cannot match any routes: ''
I have solved。 tks!
const routes: RouterConfig = [ { path:'', component: IndexComponent, children:[ { path: 'a', component: AComponent } ] }, { path: 'login', component: LoginComponent } ];
EXCEPTION: Error: Uncaught (in promise): Error: Cannot match any routes: ''