This commit is contained in:
Olu Amey
2020-09-12 17:28:10 -04:00
parent 8a4ded2103
commit 8a6ab0d4dc
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -1,3 +1,5 @@
import { HttpClient, HttpClientModule } from '@angular/common/http';
//import { HTTP } from '@ionic-native/http/ngx';
import { BlackConnectService } from './api/black-connect.service';
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
@@ -11,11 +13,10 @@ import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
@NgModule({
declarations: [AppComponent],
entryComponents: [],
imports: [BrowserModule, IonicModule.forRoot(), AppRoutingModule],
imports: [BrowserModule, IonicModule.forRoot(), AppRoutingModule,HttpClientModule],
providers: [
StatusBar,
SplashScreen,
+1 -1
View File
@@ -14,7 +14,7 @@ export class HomePage implements OnInit {
}
public goTabPages(){
// alert("You called me");
this.router.navigateByUrl("about");
this.router.navigateByUrl("blog");
}
}