Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

app.config.ts

13 lines365 Bytes

1import { provideHttpClient, withFetch } from '@angular/common/http'
2import {
3 QueryClient,
4 provideAngularQuery,
5} from '@tanstack/angular-query-experimental'
6import type { ApplicationConfig } from '@angular/core'
7​
8export const appConfig: ApplicationConfig = {
9 providers: [
10 provideHttpClient(withFetch()),
11 provideAngularQuery(new QueryClient()),
12 ],