21 lines
604 B
TypeScript
21 lines
604 B
TypeScript
import { Routes } from '@angular/router';
|
|
import { DashboardComponent } from './pages/dashboard/dashboard.component';
|
|
import { HomeComponent } from './pages/home/home.component';
|
|
import { ERouteKey } from './types/route-key';
|
|
import { InteractionsComponent } from './pages/interactions/interactions.component';
|
|
|
|
export const ROUTES: Routes = [
|
|
{
|
|
path: ERouteKey.Dashboard,
|
|
component: DashboardComponent
|
|
},
|
|
{
|
|
path: ERouteKey.Interactions + '/:chibiId',
|
|
component: InteractionsComponent
|
|
},
|
|
{
|
|
path: '**',
|
|
component: HomeComponent
|
|
}
|
|
];
|