Skip to content

Instantly share code, notes, and snippets.

@orlaqp
Created August 19, 2016 00:45
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 orlaqp/2fcc98771041b2f5bda4c0db58b57597 to your computer and use it in GitHub Desktop.
Save orlaqp/2fcc98771041b2f5bda4c0db58b57597 to your computer and use it in GitHub Desktop.
import { provideRouter, RouterConfig } from '@angular/router';
import {DemoRoute} from './components/demo/demo';
import {SupportRoute} from './components/support/support';
export const routes: RouterConfig = [
{ path: '', component: DemoRoute },
{ path: 'components', component: DemoRoute },
{ path: 'support', component: SupportRoute },
];
export const APP_ROUTER_PROVIDERS = [
provideRouter(routes),
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment