diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index 88109bd..29e42e1 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -7,15 +7,19 @@ const routes: Routes = [ path: '', loadChildren: () => import('./home/home.module').then(m => m.HomePageModule) }, + { + path: 'member', + loadChildren: () => import('./tabs/tabs.module').then(m => m.TabsPageModule) + }, { path: 'home', loadChildren: () => import('./home/home.module').then( m => m.HomePageModule) - } - , + }, { - path: 'member', - loadChildren: () => import('./tabs/tabs.module').then( m => m.TabsPageModule) + path: 'about', + loadChildren: () => import('./about/about.module').then( m => m.AboutPageModule) } + ]; @NgModule({ imports: [ diff --git a/src/app/tab1/tab1.page.ts b/src/app/tab1/tab1.page.ts index cbdeb1b..a1b278b 100644 --- a/src/app/tab1/tab1.page.ts +++ b/src/app/tab1/tab1.page.ts @@ -1,5 +1,5 @@ import { Component } from '@angular/core'; -import { BlackConnectService } from '../api/black-connect.service'; +//import { BlackConnectService } from '../api/black-connect.service'; @Component({