@empathyco/x-components
Version:
Empathy X Components
58 lines (28 loc) • 1.06 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [setupDevtools](./x-components.setupdevtools.md)
## setupDevtools() function
> This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
>
Setups a plugin for the Vue's devtools adding: - [XEvent](./x-components.xevent.md)<!-- -->s timeline. Every event is recorded in time, and its payload and metadata can be inspected. - Wiring inspector. Events and its wires can be viewed and disabled.
**Signature:**
```typescript
export declare function setupDevtools(app: App): void;
```
## Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
app
</td><td>
App
</td><td>
The Vue application instance the devtools should track.
</td></tr>
</tbody></table>
**Returns:**
void