Skip to content

Commit 742c2a0

Browse files
update vue example
1 parent 8122836 commit 742c2a0

File tree

1 file changed

+2
-4
lines changed
  • src/pages/[platform]/build-a-backend/data/query-data

1 file changed

+2
-4
lines changed

src/pages/[platform]/build-a-backend/data/query-data/index.mdx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -298,10 +298,8 @@ onMounted(() => {
298298
});
299299
</script>
300300

301-
<template>
302-
<div>
303-
<!-- Add your template here to display posts -->
304-
</div>
301+
<template v-for="post in posts" :key="post.id">
302+
<li>{{ post.content }}</li>
305303
</template>
306304
```
307305
</InlineFilter>

0 commit comments

Comments
 (0)