knowyt/client/src/components/CollectQuotes.vue

23 lines
470 B
Vue

<template>
<div class="collect-quotes__container">
<QuoteCard v-for="quote in quotes" :key="quote.id" :quote="quote" :editable="true" />
<QuoteCardNew />
</div>
</template>
<script setup lang="ts">
import useEngine from '@/composables/useEngine'
const engine = useEngine()
const quotes = engine.getQuotesRef()
await engine.loadQuotes()
</script>
<style lang="scss">
.collect-quotes {
&__container {
display: flex;
flex-wrap: wrap;
}
}
</style>