title: Wuxt.js (Nuxt.js) getting out data from axios response
body: <p>I want to fetch out menu items from the Wordpress json response with Wuxt framework (Nuxt + Wordpress), but I can't access the <code>data</code> object outside the fetch (error message is that data is not defined) 
  This is my code</p>
  
  <pre><code>&lt;script&gt;
  import axios from 'axios'
  import Logo from '~/components/Logo'
  
  export default {
  
    components: {
      Logo
    },
  
    async fetch ({ params, error }) {
      try {
        let { data } = await axios.get('http://localhost:3080/wp-json/wuxt/v1/menu')
        return data
      } catch (e) {
        error({ message: 'Not found', statusCode: 404 })
      }
    }
  }
  &lt;/script&gt;
  </code></pre>
  
  <p>How can the <code>data</code> object be accessed, for inserting into the template?</p>