blob: 4c27ed1adec3a3a1b23c4a368e692643067fdc3c [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);