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

index.tsx

24 lines473 Bytes

1import { render } from 'solid-js/web'
2import { TanStackDevtools } from '@tanstack/solid-devtools'
3​
4function DemoPlugin() {
5 return <div data-testid="demo-plugin">demo plugin content</div>
6}
7​
8function App() {
9 return (
10 <>
11 <h1>solid e2e</h1>
12 <TanStackDevtools
13 plugins={[
14 {
15 name: 'Demo',
16 render: <DemoPlugin />,
17 },
18 ]}
19 />
20 </>
21 )
23​
24render(() => <App />, document.getElementById('root')!)