mirror of
https://github.com/lainbo/component-party.git
synced 2026-04-05 13:09:03 +08:00
20 lines
460 B
TypeScript
20 lines
460 B
TypeScript
import { NgModule } from '@angular/core';
|
|
import { BrowserModule } from '@angular/platform-browser';
|
|
|
|
import { HttpClientModule } from '@angular/common/http';
|
|
import { UserService } from './user.service';
|
|
import { UsersComponent } from './users.component';
|
|
|
|
@NgModule({
|
|
declarations: [
|
|
UsersComponent
|
|
],
|
|
imports: [
|
|
BrowserModule,
|
|
HttpClientModule
|
|
],
|
|
providers: [UserService],
|
|
bootstrap: [UsersComponent]
|
|
})
|
|
export class UsersModule { }
|