admin.routes.ts 365 Bytes
Newer Older
Trần Anh Phú's avatar
Trần Anh Phú committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
import { Route } from '@angular/router';
import { AdminLayoutComponent } from './layout/feature/ui/layout.component';

const ADMIN_ROUTES: Route[] = [
  {
    path: '',
    component: AdminLayoutComponent,
    children: [
      {
        path: '',
        pathMatch: 'full',
        redirectTo: 'configuration',
      },
    ],
  },
];
export default ADMIN_ROUTES;