Skip to content

Instantly share code, notes, and snippets.

@matthieu-D
Created December 10, 2016 15:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matthieu-D/f9e3fd9310509f1e67021023da51fe4c to your computer and use it in GitHub Desktop.
Save matthieu-D/f9e3fd9310509f1e67021023da51fe4c to your computer and use it in GitHub Desktop.
import { Routes} from '@angular/router';
import { HomeComponent } from './home';
import { NoContentComponent } from './no-content';
export const ROUTES: Routes = [
{ path: '', component: HomeComponent },
{ path: 'home', component: HomeComponent},
{ path: '**', component: NoContentComponent }
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment