Browse Source

feat:create-mobile.routes.ts

0235474 5 days ago
parent
commit
499f705d62
1 changed files with 17 additions and 0 deletions
  1. 17 0
      travel-platform-web/travel-web/src/crm/mobile/mobile.routes.ts

+ 17 - 0
travel-platform-web/travel-web/src/crm/mobile/mobile.routes.ts

@@ -0,0 +1,17 @@
+    import { Routes } from '@angular/router';
+
+export const MOBILE_ROUTES: Routes = [
+      {
+        path: 'home',
+        loadComponent: () => import('./page-crm-home/page-crm-home').then(m => m.PageCrmHome)
+      },
+      {
+        path: 'talk',
+        loadComponent: () => import('./page-crm-platform/page-crm-platform').then(m => m.PageCrmPlatform)
+      },
+      {
+        path: '',
+        redirectTo: 'home',
+        pathMatch: 'full'
+      }
+]