chore: upgrade to Vue3/Vuetify3

This commit is contained in:
2024-02-05 16:48:02 +01:00
parent 171e1039a7
commit ef3b5460ad
65 changed files with 3153 additions and 9032 deletions
+34
View File
@@ -0,0 +1,34 @@
<template>
<div>
<v-row v-for="event in events" :key="event.id" wrap>
<v-col xs="12">
<event-card
:event="event"
:has-user="hasUser"
:toggle-ignore="toggleIgnore"
/>
</v-col>
</v-row>
</div>
</template>
<script setup lang='ts'>
import { type PropType } from 'vue'
import EventCard from './event-card.vue'
import { type Event } from '~/graphql/generated/operations'
defineProps({
hasUser: {
type: Boolean,
required: true,
},
toggleIgnore: {
type: Function,
required: true,
},
events: {
type: Array as PropType<Event[]>,
required: true,
},
})
</script>