API Documentation

DruxtDebug

druxt

DruxtDebug

The DruxtDebug component can be used to render debug information that is visible only when Nuxt is run in development mode.

You can render your debug information through the default slot, or via the json prop to format your data, or a combination of the two.

Example

<DruxtDebug :json="entity">Debug information</DruxtDebug>

.props

Kind: static property of DruxtDebug


.json : *

JSON data to format for readability.

Kind: static property of props
Example

<DruxtDebug :json="{ data: [{ one: true, two: false }] }" />

.summary : string

Text to use for debug summary.

Kind: static property of props
Example

<DruxtDebug summary="Foo bar" />

.computed

Kind: static property of DruxtDebug


.module ⇒ object

The invoking Druxt module component.

Kind: static property of computed


.title ⇒ string

The computed summary title.

Kind: static property of computed