<template>
  <div class="home">
    <img alt="Vue logo" src="../assets/logo.png">
    <pre>{{JSON.stringify(userInfo, null, 2)}}</pre>
  </div>
</template>

<script>
// @ is an alias to /src
import { mapState } from 'vuex'
export default {
  name: 'Home',
  computed: {
    ...mapState('core', {
      userInfo: 'userInfo'
    }),
  },
}
</script>

<style scoped>
.home {
  text-align: left;
}
</style>
