|
@@ -1,7 +1,11 @@
|
|
|
- import { Routes } from '@angular/router';
|
|
|
-
|
|
|
+import { Routes } from '@angular/router';
|
|
|
+import { NavMobileMenu } from './nav-mobile-menu/nav-mobile-menu';
|
|
|
|
|
|
export const MOBILE_ROUTES: Routes = [
|
|
|
+ {
|
|
|
+ path: '',
|
|
|
+ component: NavMobileMenu,
|
|
|
+ children: [
|
|
|
{
|
|
|
path: 'home',
|
|
|
loadComponent: () => import('./page-crm-home/page-crm-home').then(m => m.PageCrmHome)
|
|
@@ -10,9 +14,12 @@ export const MOBILE_ROUTES: Routes = [
|
|
|
path: 'platform',
|
|
|
loadComponent: () => import('./page-crm-platform/page-crm-platform').then(m => m.PageCrmPlatform)
|
|
|
},
|
|
|
+
|
|
|
{
|
|
|
path: '',
|
|
|
redirectTo: 'home',
|
|
|
pathMatch: 'full'
|
|
|
}
|
|
|
-]
|
|
|
+ ]
|
|
|
+ }
|
|
|
+];
|