title: Fetch data from serverPrefetch() to mounted()
body: <p>Question by topic: <a href="https://ssr.vuejs.org/guide/data.html#data-store" rel="nofollow noreferrer">Data Pre-Fetching and State</a></p>
  <p>I want to accept data from the server-side in order to use it on the client-side.</p>
  <pre><code>export default {
      // ...
      serverPrefetch () {
          this.$store.device = this.$vnode.ssrContext.device
  
          console.log(this.$store.device) // desktop
      },
  
      mounted () {
          console.log(this.$store.device) // undefined
      }
      // ...
  }
  </code></pre>
  <p>Tried using the store but doesn't work. Please tell me how to solve this problem.</p>