matrix-dimension/web/app/app.routing.ts
2017-08-26 23:26:00 -06:00

11 lines
337 B
TypeScript

import { RouterModule, Routes } from "@angular/router";
import { HomeComponent } from "./home/home.component";
import { RiotComponent } from "./riot/riot.component";
const routes: Routes = [
{path: "", component: HomeComponent},
{path: "riot", component: RiotComponent},
];
export const routing = RouterModule.forRoot(routes);