blob: 724aa65d7c7a7e18d7f30c05e5bcdda2aa2faa11 [file] [log] [blame]
/// <reference path="../../typings/index.d.ts"/>
import {Component} from '@angular/core';
import {RouterModule, Routes} from '@angular/router';
import {HelloComponent} from './hello';
import {LoginComponent} from './components/login/login.component';
@Component({
selector: 'xos-root',
template: `
<router-outlet></router-outlet>
`
})
export class RootComponent {}
export const routes: Routes = [
{
path: '',
component: HelloComponent
},
{
path: 'login',
component: LoginComponent
}
];
export const routing = RouterModule.forRoot(routes);