Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import {NgModule} from "@angular/core";
- import {RouterModule, Route} from "@angular/router";
- import {StatsComponent} from "./stats/stats-2017/stats-2017.component";
- const APP_ROUTES : Route[] = [
- { path: '', redirectTo: '/stats17', pathMatch: 'full' },
- { path: 'stats17', component: StatsComponent}
- ];
- @NgModule({
- imports: [RouterModule.forRoot(APP_ROUTES)],
- exports: [RouterModule]
- })
- export class AppRoutingModule {}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement