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

setup.tsx

20 lines437 Bytes

1import { TanStackDevtools } from '@tanstack/preact-devtools'
2import { PackageJsonPanel } from './package-json-panel'
3​
4export default function DevtoolsExample() {
5 return (
6 <>
7 <TanStackDevtools
8 eventBusConfig={{
9 connectToServerBus: true,
10 }}
11 plugins={[
12 {
13 name: 'Package.json',
14 render: () => <PackageJsonPanel />,
15 },
16 ]}
17 />
18 </>
19 )