SHARE
TWEET

Untitled

a guest Feb 18th, 2018 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import {NgModule} from "@angular/core";
  2. import {RouterModule, Route} from "@angular/router";
  3.  
  4. import {StatsComponent} from "./stats/stats-2017/stats-2017.component";
  5.  
  6. const APP_ROUTES : Route[] = [
  7.     { path: '',   redirectTo: '/stats17', pathMatch: 'full' },
  8.     { path: 'stats17', component: StatsComponent}
  9. ];
  10.  
  11. @NgModule({
  12.     imports: [RouterModule.forRoot(APP_ROUTES)],
  13.     exports: [RouterModule]
  14. })
  15.  
  16. export class AppRoutingModule {}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top