Open History to see the last commit
1---
2title: Basic setup
3id: basic-setup
4---
5β
6TanStack devtools provides you with an easy to use and modular client that allows you to compose multiple devtools into one easy to use panel.
7β
8## Setup
9β
10Install the [TanStack Devtools](https://www.npmjs.com/package/@tanstack/solid-devtools) library, this will install the devtools core as well as provide you framework specific adapters.
11β
12```bash
13npm i @tanstack/solid-devtools
14```
15β
16Next in the root of your application import the `TanStackDevtools` from the required framework adapter (in this case @tanstack/solid-devtools).
17β
18```tsx
19import { TanStackDevtools } from '@tanstack/solid-devtools'
20β
21import App from './App'
22β
23createRoot(document.getElementById('root')!).render(
24 <StrictMode>
25 <App />
26β
27 <TanStackDevtools />
28 </StrictMode>,
29)
30```
31β
32Import the desired devtools and provide it to the `TanStackDevtools` component along with a label for the menu.
33β
34Currently TanStack offers:
35β
36- `QueryDevtools`
37- `RouterDevtools`
38- `FormDevtools`
39β
40```tsx
41import { render } from 'solid-js/web';
42β
43import { TanStackDevtools } from '@tanstack/solid-devtools'
44β
45import { SolidQueryDevtoolsPanel } from '@tanstack/solid-query-devtools'
46import { TanStackRouterDevtoolsPanel } from '@tanstack/solid-router-devtools'
47import { SolidFormDevtoolsPanel } from '@tanstack/solid-form'
48β
49import App from './App'
50β
51render(() => (
52 <>
53 <App />
54β
55 <TanStackDevtools
56 plugins={[
57 {
58 name: 'TanStack router',
59 render: () => <TanStackRouterDevtoolsPanel />,
60 },
61 {
62 name: 'TanStack Form',
63 render: () => <SolidFormDevtoolsPanel />,
64 },
65 ]}
66 />
67 </>
68), document.getElementById('root')!)
69```
70β
71Finally add any additional configuration you desire to the `TanStackDevtools` component, more information can be found under the [TanStack Devtools Configuration](../../configuration) section.
72β
73A complete working example can be found in our [examples section](https://tanstack.com/devtools/latest/docs/framework/solid/examples).