angular-docs-cn/integration/bazel/src/app.module.ts

23 lines
592 B
TypeScript

import {CommonModule} from '@angular/common';
import {HttpClientModule} from '@angular/common/http';
import {NgModule} from '@angular/core';
import {BrowserModule} from '@angular/platform-browser';
import {AppRoutingModule} from './app-routing.module';
import {AppComponent} from './app.component';
import {HelloWorldModule} from './hello-world/hello-world.module';
@NgModule({
imports: [
AppRoutingModule,
CommonModule,
BrowserModule,
HttpClientModule,
HelloWorldModule,
],
declarations: [AppComponent],
bootstrap: [AppComponent],
})
export class AppModule {
}