<template>
  <div>
    <pre class="json">{{ user }}</pre>
    <pre class="json">{{ json }}</pre>
  </div>
</template>

<script>
export default {
  async mounted() {
    await this.$engine.start()
  },
  computed: {
    json() {
      return JSON.stringify(this.$store.state.engine.json, null, 2)
    },
    user() {
      return JSON.stringify(this.$store.state.engine.user, null, 2)
    },
  }
}
</script>

<style lang="scss">
.json {
  margin: 1em 2em;
  color: #ffffff;
}
</style>
