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

index.ts

16 lines489 Bytes

1import '@angular/compiler'
2import 'zone.js'
3import { bootstrapApplication } from '@angular/platform-browser'
4import {
5 QueryClient,
6 provideAngularQuery,
7} from '@tanstack/angular-query-experimental'
8import { provideHttpClient, withFetch } from '@angular/common/http'
9import { SimpleExampleComponent } from './simple-example.component'
10​
11bootstrapApplication(SimpleExampleComponent, {
12 providers: [
13 provideHttpClient(withFetch()),
14 provideAngularQuery(new QueryClient()),
15 ],
16})