34 lines
598 B
Vue
34 lines
598 B
Vue
|
<template>
|
||
|
<div class="enginedebug">
|
||
|
<pre class="enginedebug__json">{{ userJson }}</pre>
|
||
|
<pre class="enginedebug__json">{{ engineJson }}</pre>
|
||
|
</div>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
export default {
|
||
|
computed: {
|
||
|
userJson() {
|
||
|
return JSON.stringify(this.$store.state.engine.user, null, 2)
|
||
|
},
|
||
|
engineJson() {
|
||
|
return JSON.stringify(this.$store.state.engine.json, null, 2)
|
||
|
},
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
<style lang="scss">
|
||
|
.enginedebug {
|
||
|
position: absolute;
|
||
|
right: 0;
|
||
|
bottom: 0;
|
||
|
background-color: #002040;
|
||
|
|
||
|
&__json {
|
||
|
margin: 1em 2em;
|
||
|
color: #808080;
|
||
|
}
|
||
|
}
|
||
|
</style>
|