浏览代码

feat:create-mobile.routes.ts

0235474 5 天之前
父节点
当前提交
499f705d62
共有 1 个文件被更改,包括 17 次插入0 次删除
  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'
+      }
+]