docs(style-guide): create a route redirection

closes #1857
This commit is contained in:
Foxandxss 2016-07-08 17:49:06 +02:00 committed by Ward Bell
parent 02cd26bda6
commit 8ddc93d211
1 changed files with 1 additions and 0 deletions

View File

@ -28,6 +28,7 @@ import { AppComponent as S0704 } from '../07-04/app';
import { AppComponent as S0901 } from '../09-01/app'; import { AppComponent as S0901 } from '../09-01/app';
const routes: RouterConfig = [ const routes: RouterConfig = [
{ path: '', redirectTo: '/01-01', pathMatch: 'full' },
{ path: '01-01', component: S0101 }, { path: '01-01', component: S0101 },
{ path: '02-07', component: S0207 }, { path: '02-07', component: S0207 },
{ path: '02-08', component: S0208 }, { path: '02-08', component: S0208 },