24 lines
871 B
TypeScript
24 lines
871 B
TypeScript
import { CONSUMER_ROUTES } from '@/domains/consumer/routes';
|
|
import { PARTNER_ROUTES } from '@/domains/partner/routes';
|
|
import { POS_ROUTES } from '@/domains/pos/routes';
|
|
import { PROVIDER_ROUTES } from '@/domains/provider/routes';
|
|
import { SUPER_ADMIN_ROUTES } from '@/domains/superAdmin/routes';
|
|
import { AppLayout } from '@/layout/default/app.layout.component';
|
|
import { AuthComponent } from '@/modules/auth/pages/auth.component';
|
|
import { Notfound } from '@/pages/notfound/notfound.component';
|
|
import { Routes } from '@angular/router';
|
|
|
|
export const appRoutes: Routes = [
|
|
{
|
|
path: '',
|
|
component: AppLayout,
|
|
children: [SUPER_ADMIN_ROUTES, CONSUMER_ROUTES, PROVIDER_ROUTES, PARTNER_ROUTES, POS_ROUTES],
|
|
},
|
|
{
|
|
path: 'auth',
|
|
component: AuthComponent,
|
|
},
|
|
{ path: 'notfound', component: Notfound },
|
|
{ path: '**', redirectTo: '/notfound' },
|
|
];
|