Files
Sylvain DEDIEU 7ac94dd664 docs: change the file of the provideHttpClient standalone example to match cli generated project (#52806)
The "Providing HttpClient through dependency injection" documentation now shows that in case of a standalone boostraped app, the provideHttpClient is to include in the app.config.ts file.

Also updated the http setup server communication example to align the new doc (adev) with the old one (aio).

PR Close #52806
2024-01-25 21:24:59 +00:00

10 lines
271 B
TypeScript

// #docplaster
// #docregion sketch
import { bootstrapApplication } from '@angular/platform-browser';
import {AppComponent} from './app/app.component';
import { appConfig } from './app/app.config';
bootstrapApplication(AppComponent, appConfig);
// #enddocregion sketch