16 lines
478 B
TypeScript
16 lines
478 B
TypeScript
|
|
import { POS_ROUTES } from '@/domains/pos/routes';
|
||
|
|
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: '', redirectTo: 'pos', pathMatch: 'full' },
|
||
|
|
POS_ROUTES,
|
||
|
|
{
|
||
|
|
path: 'auth',
|
||
|
|
component: AuthComponent,
|
||
|
|
},
|
||
|
|
{ path: 'notfound', component: Notfound },
|
||
|
|
{ path: '**', redirectTo: '/notfound' },
|
||
|
|
];
|