摘要:
import { NgModule } from '@angular/core'; import { Routes, RouterModule } from '@angular/router'; import { HomeComponent } from './home/home.component'; import { ProductComponent } from './... 阅读全文
posted @ 2018-04-21 22:03
chester·chen
阅读(135)
评论(0)
推荐(0)
摘要:
阅读全文
posted @ 2018-04-21 21:49
chester·chen
阅读(124)
评论(0)
推荐(0)
摘要:
const routes: Routes = [ { path: '', redirectTo: '/home', pathMatch: 'full' }, { path: 'home', component: HomeComponent }, { path: 'product/:id', component: Prod... 阅读全文
posted @ 2018-04-21 20:58
chester·chen
阅读(128)
评论(0)
推荐(0)
摘要:
const routes: Routes = [ { path: '', redirectTo: '/home', pathMatch: 'full' }, { path: 'home', component: HomeComponent }, { path: 'product/:id', component: Prod... 阅读全文
posted @ 2018-04-21 20:42
chester·chen
阅读(471)
评论(0)
推荐(0)
摘要:
参数订阅: 参数快照: 阅读全文
posted @ 2018-04-21 19:15
chester·chen
阅读(234)
评论(0)
推荐(0)
摘要:
页面不存在 阅读全文
posted @ 2018-04-21 18:23
chester·chen
阅读(123)
评论(0)
推荐(0)