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

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

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