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

app.config.ts

22 lines586 Bytes

1import { ApplicationConfig, provideBrowserGlobalErrorListeners } from '@angular/core'
2import { provideTanStackDevtools } from '@tanstack/angular-devtools/provider'
3​
4export const appConfig: ApplicationConfig = {
5 providers: [
6 provideBrowserGlobalErrorListeners(),
7 provideTanStackDevtools(() => ({
8 plugins: [
9 {
10 name: 'Custom devtools',
11 render: () => import('./devtools/custom-devtools-panel'),
12 },
13 ],
14 eventBusConfig: {
15 debug: true,
16 },
17 // config: {
18 // defaultOpen: true,
19 // },
20 })),
21 ],