mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 11:17:19 +08:00
24 lines
694 B
TypeScript
24 lines
694 B
TypeScript
import { BrowserModule } from '@angular/platform-browser';
|
|
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
|
|
import { HttpClientModule } from '@angular/common/http';
|
|
|
|
import { AppComponent } from './app.component';
|
|
import { AppRoutingModule } from './app-routing.module';
|
|
import { PostTestService } from './post-test/post-test.service';
|
|
|
|
import { IonicAngularModule } from '@ionic/angular';
|
|
|
|
@NgModule({
|
|
declarations: [AppComponent],
|
|
imports: [
|
|
AppRoutingModule,
|
|
BrowserModule,
|
|
HttpClientModule,
|
|
IonicAngularModule.forRoot(),
|
|
],
|
|
bootstrap: [AppComponent],
|
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
providers: [PostTestService]
|
|
})
|
|
export class AppModule { }
|