We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24b61b3 commit c8c3ef9Copy full SHA for c8c3ef9
components/service/Group.vue components/Group.vuecomponents/service/Group.vue renamed to components/Group.vue
@@ -4,17 +4,19 @@
4
{{ title }}
5
</h2>
6
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-1 lg:gap-2 lg:gap-y-4">
7
- <template v-for="(item, key) in items" :key="key">
8
- <ServiceItem v-bind="item" />
+ <template v-for="item in items" :key="item.id">
+ <Item v-bind="item" />
9
</template>
10
</div>
11
12
13
14
<script setup lang="ts">
15
+import type { BaseService } from '~/types'
16
+
17
export interface Props {
18
title: string
- items: any[]
19
+ items: BaseService[]
20
}
21
22
defineProps<Props>()
0 commit comments