diff options
Diffstat (limited to 'src/components/Subcard.vue')
-rw-r--r-- | src/components/Subcard.vue | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/components/Subcard.vue b/src/components/Subcard.vue new file mode 100644 index 0000000..808cd48 --- /dev/null +++ b/src/components/Subcard.vue | |||
@@ -0,0 +1,12 @@ | |||
1 | <template v-for="link in item.links"> | ||
2 | <li><a :href="link.url">{{ link.name }}</a></li> | ||
3 | </template> | ||
4 | |||
5 | <script> | ||
6 | export default { | ||
7 | name: "Subcard", | ||
8 | props: { | ||
9 | link: Object, | ||
10 | }, | ||
11 | }; | ||
12 | </script> | ||