matrix-dimension/web/app/app.routing.ts

13 lines
503 B
TypeScript

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