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 { BlackConnectService } from './api/black-connect.service';
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { BrowserModule } from '@angular/platform-browser';
|
import { BrowserModule } from '@angular/platform-browser';
|
||||||
@@ -11,11 +13,10 @@ import { AppRoutingModule } from './app-routing.module';
|
|||||||
import { AppComponent } from './app.component';
|
import { AppComponent } from './app.component';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
declarations: [AppComponent],
|
declarations: [AppComponent],
|
||||||
entryComponents: [],
|
entryComponents: [],
|
||||||
imports: [BrowserModule, IonicModule.forRoot(), AppRoutingModule],
|
imports: [BrowserModule, IonicModule.forRoot(), AppRoutingModule,HttpClientModule],
|
||||||
providers: [
|
providers: [
|
||||||
StatusBar,
|
StatusBar,
|
||||||
SplashScreen,
|
SplashScreen,
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ export class HomePage implements OnInit {
|
|||||||
}
|
}
|
||||||
public goTabPages(){
|
public goTabPages(){
|
||||||
// alert("You called me");
|
// alert("You called me");
|
||||||
this.router.navigateByUrl("about");
|
this.router.navigateByUrl("blog");
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user