Skip to content

Commit 8fa004f

Browse files
committed
chore: README, add imports
1 parent 5c57377 commit 8fa004f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,12 @@ In your app.component.html, simply add:
9292
If you prefer using standalone components, you should configure your `ApplicationConfig` like following:
9393

9494
```typescript
95+
import { ApplicationConfig, importProvidersFrom } from '@angular/core';
96+
import { provideRouter } from '@angular/router';
97+
import { NgHttpLoaderModule } from 'ng-http-loader';
98+
import { routes } from './app.routes';
99+
import {provideHttpClient, withInterceptorsFromDi} from '@angular/common/http';
100+
95101
export const appConfig: ApplicationConfig = {
96102
providers: [
97103
provideRouter(routes),

0 commit comments

Comments
 (0)