Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit 8ddc93d

Browse files
Foxandxsswardbell
authored andcommitted
docs(style-guide): create a route redirection
closes #1857
1 parent 02cd26b commit 8ddc93d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

public/docs/_examples/style-guide/ts/app/app.routes.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ import { AppComponent as S0704 } from '../07-04/app';
2828
import { AppComponent as S0901 } from '../09-01/app';
2929

3030
const routes: RouterConfig = [
31+
{ path: '', redirectTo: '/01-01', pathMatch: 'full' },
3132
{ path: '01-01', component: S0101 },
3233
{ path: '02-07', component: S0207 },
3334
{ path: '02-08', component: S0208 },

0 commit comments

Comments
 (0)