Some stuff for easier logging configuration - wip

This commit is contained in:
Tamius Han 2020-02-26 00:43:01 +01:00
parent 4c0aca48fd
commit acfa833203

View File

@ -0,0 +1,28 @@
<template>
<div class="root">
<template v-for="key in json"
>
<div class="element" :key="key">
<span class="json-key">"{{key}}"</span>:
<template v-if="Array.isArray(json[key])">
[<br/>
<div v-for="index of json[key]"
class="json-table-row"
:key="index"
>
</div>
]
</template>
</div>
</template>
</div>
</template>
<script>
export default {
name: "json-explorer",
props: {
json: Object
}
}
</script>