basic card display
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
<script setup lang="ts">
|
||||
defineProps(['data'])
|
||||
const props = defineProps(['data'])
|
||||
const cards = useState<{ [key: string]: any }>('cards')
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div>
|
||||
{{ data.name }}
|
||||
</div>
|
||||
{{ cards[props.data].name }}
|
||||
|
|
||||
</template>
|
||||
Reference in New Issue
Block a user