2017-05-27 03:51:48 +00:00
|
|
|
import { RouterModule, Routes } from "@angular/router";
|
|
|
|
import { HomeComponent } from "./home/home.component";
|
2017-05-27 07:27:36 +00:00
|
|
|
import { RiotComponent } from "./riot/riot.component";
|
2017-10-10 02:26:46 +00:00
|
|
|
import { WidgetWrapperComponent } from "./widget_wrapper/widget_wrapper.component";
|
2017-05-27 03:51:48 +00:00
|
|
|
|
|
|
|
const routes: Routes = [
|
2017-08-27 05:26:00 +00:00
|
|
|
{path: "", component: HomeComponent},
|
|
|
|
{path: "riot", component: RiotComponent},
|
2017-10-10 02:26:46 +00:00
|
|
|
{path: "riot/widget_wrapper", component: WidgetWrapperComponent},
|
2017-05-27 03:51:48 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
export const routing = RouterModule.forRoot(routes);
|