UNPKG

@empathyco/x-components

Version:
28 lines (16 loc) 925 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [setupDevtools](./x-components.setupdevtools.md) ## setupDevtools() function > This API is provided as a 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 | Parameter | Type | Description | | --- | --- | --- | | app | App | The Vue application instance the devtools should track. | **Returns:** void