HttpClientModule
This commit is contained in:
parent
ef67caff33
commit
3d8d66ffed
|
@ -3,6 +3,7 @@ import { ErrorHandler, NgModule } from '@angular/core';
|
|||
import { IonicApp, IonicErrorHandler, IonicModule } from 'ionic-angular';
|
||||
import { SplashScreen } from '@ionic-native/splash-screen';
|
||||
import { StatusBar } from '@ionic-native/status-bar';
|
||||
import { HttpClientModule} from "@angular/common/http";
|
||||
|
||||
import { MyApp } from './app.component';
|
||||
import { HomePage } from '../pages/home/home';
|
||||
|
@ -26,6 +27,7 @@ import { SearchPage } from "../pages/search/search";
|
|||
],
|
||||
imports: [
|
||||
BrowserModule,
|
||||
HttpClientModule,
|
||||
IonicModule.forRoot(MyApp)
|
||||
],
|
||||
bootstrap: [IonicApp],
|
||||
|
|
|
@ -23,7 +23,9 @@ export class SearchPage {
|
|||
}
|
||||
|
||||
searchUser($user){
|
||||
|
||||
console.log('prout')
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue