📜  导入 httpclient - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:04.649000             🧑  作者: Mango

代码示例1
app/app.module.ts :
import { HttpClientModule } from '@angular/common/http';

app/config/config.service.ts :
import { HttpClient } from '@angular/common/http';