Created
August 19, 2016 00:45
-
-
Save orlaqp/2fcc98771041b2f5bda4c0db58b57597 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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