title: Dealing with object return from axios
body: <p>Someone could please point me what I need do to get the nuxt axios return which works inside vuetify v-for?</p>
  <p>I'm using the following code:</p>
  <pre><code>async asyncData() {
      let res = await axios.get('https://jsonplaceholder.typicode.com/posts')
          console.log(res)
          let objectPosts = {}
          objectPosts = res.data
          return (posts: objectPosts)
  },
  </code></pre>
  <p>My componnent data is:</p>
  <pre><code>data() {
      return {
          posts: {}
      }
  },
  </code></pre>
  <p>My v-for is:</p>
  <pre><code>&lt;article v-for=&quot;(post, index) in posts&quot; :key=&quot;index&quot;&gt;
  </code></pre>
  <p>And the error I'm getting is:</p>
  <pre><code>[Vue warn]: Error in render: &quot;TypeError: Cannot read properties of undefined (reading 'length')&quot;
  </code></pre>
  <p>If I fill my componnent data with the json as object manually works fine, example:</p>
  <pre><code>data() {
      return {
          posts: [
              {
              &quot;userId&quot;: 1,
              &quot;id&quot;: 1,
              &quot;title&quot;: &quot;sunt aut facere repellat provident occaecati excepturi optio reprehenderit&quot;,
              &quot;body&quot;: &quot;quia et suscipit\nsuscipit recusandae consequuntur expedita et cum\nreprehenderit molestiae ut ut quas totam\nnostrum rerum est autem sunt rem eveniet architecto&quot;
              },
              {
              &quot;userId&quot;: 1,
              &quot;id&quot;: 2,
              &quot;title&quot;: &quot;qui est esse&quot;,
              &quot;body&quot;: &quot;est rerum tempore vitae\nsequi sint nihil reprehenderit dolor beatae ea dolores neque\nfugiat blanditiis voluptate porro vel nihil molestiae ut reiciendis\nqui aperiam non debitis possimus qui neque nisi nulla&quot;
              }
          ]
      }
  },
  </code></pre>
  <p>Console log show the array from axios too.</p>
  <p>The application is using SSR, my initial guess was on be an issue with async, page get rendered first and object don't exists triggering this error.</p>