fix
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -14,7 +14,7 @@ export class HomePage implements OnInit {
|
||||
}
|
||||
public goTabPages(){
|
||||
// alert("You called me");
|
||||
this.router.navigateByUrl("about");
|
||||
this.router.navigateByUrl("blog");
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user