12 lines
213 B
Vue
12 lines
213 B
Vue
<template>
|
|
<PpPriceCard v-for="num in cards" :uid="num" />
|
|
<button @click="addCard">ADD</button>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
const cards = ref(1)
|
|
|
|
const addCard = () => {
|
|
cards.value++
|
|
}
|
|
</script>
|