1
0
Fork 0

remove _id

This commit is contained in:
Tommy Vedvik 2019-03-01 01:26:33 +01:00
parent dc32ee4bae
commit a6e005f9e7

View file

@ -21,7 +21,7 @@ Here is an example on how to query posts from the GraphQL layer in a page:
<Layout>
<h2>Latest blog posts</h2>
<ul>
<li v-for="edge in $page.allWordPressPost.edges" :key="edge.node._id">
<li v-for="edge in $page.allWordPressPost.edges" :key="edge.node.id">
{{ edge.node.title }}
</li>
</ul>