Add Post view displaying passed id

This commit is contained in:
Raymonzut
2020-04-25 14:38:40 +02:00
parent 549e0cb7bf
commit f89c9251e6
+22
View File
@@ -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>