knowyt/client/src/components/CollectQuotes.vue

23 lines
470 B
Vue
Raw Normal View History

2022-08-08 17:40:09 +00:00
<template>
<div class="collect-quotes__container">
2022-08-08 20:53:10 +00:00
<QuoteCard v-for="quote in quotes" :key="quote.id" :quote="quote" :editable="true" />
2022-08-09 20:36:39 +00:00
<QuoteCardNew />
2022-08-08 17:40:09 +00:00
</div>
</template>
<script setup lang="ts">
2022-08-09 11:36:05 +00:00
import useEngine from '@/composables/useEngine'
const engine = useEngine()
const quotes = engine.getQuotesRef()
await engine.loadQuotes()
2022-08-08 17:40:09 +00:00
</script>
<style lang="scss">
.collect-quotes {
&__container {
display: flex;
2022-08-08 20:53:10 +00:00
flex-wrap: wrap;
2022-08-08 17:40:09 +00:00
}
}
</style>