Add Post view displaying passed id

master
Raymonzut 5 years ago
parent 549e0cb7bf
commit f89c9251e6
No known key found for this signature in database
GPG Key ID: 97CF2D8BE2C69FC7
  1. 22
      client/src/views/Post.vue

@ -0,0 +1,22 @@
<template>
<div id="Post">
<br>
Read other <a href="/posts">posts</a>
<br>
The id of the post is: {{ id }}
</div>
</template>
<script>
export default {
name: "Post",
props: {
id: {
type: String,
name: "id",
}
}
}
</script>
<style scoped></style>
Loading…
Cancel
Save