| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
This package is still under active development and might have breaking changes in the future. Please use it with caution.
import { TanStackDevtools } from '@tanstack/solid-devtools'
import { TanStackRouterDevtoolsPanel } from '@tanstack/solid-router-devtools'
function App() {
return (
<div>
<h1>My App</h1>
<TanStackDevtools
plugins={[
{
name: 'TanStack Router',
render: <TanStackRouterDevtoolsPanel router={router} />,
},
]}
/>
</div>
)
}In order to create a plugin for TanStack Devtools, you can use the plugins prop of the TanStackDevtools component. Here's an example of how to create a simple plugin:
import { TanStackDevtools } from '@tanstack/solid-devtools'
function App() {
return (
<div>
<h1>My App</h1>
<TanStackDevtools
plugins={[
{
id: 'your-plugin-id',
name: 'Your Plugin',
render: <CustomPluginComponent />,
},
]}
/>
</div>
)
}| Back | FazBrowse Home | New Git URL |