---
url: https://lit-ui-router.dev/reference/ui-router-devtools/plugin.md
---
[ui-router-devtools](../index.md) / plugin

# plugin

`DevtoolsPlugin`, for `router.plugin(DevtoolsPlugin)`: it registers `<ui-router-devtools>` and appends one for the
router to `document.body`.

## Classes

* [DevtoolsPlugin](classes/DevtoolsPlugin.md) — Appends a `<ui-router-devtools>` for the router to `document.body`; `dispose()` removes it.

## Interfaces

* [DevtoolsPluginOptions](interfaces/DevtoolsPluginOptions.md) — Options for DevtoolsPlugin, the second argument to `router.plugin(DevtoolsPlugin, options)`.

## References

### UIRouterDevtools

Re-exports [UIRouterDevtools](../define/variables/UIRouterDevtools.md)
