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 84c7d28 commit 18881eeCopy full SHA for 18881ee
apps/web/app/components/event/EventMultipleAssets.vue
@@ -1,12 +1,14 @@
1
<script setup lang="ts">
2
import type { Event } from '@vuejs-jp/model'
3
+import { useWithBase } from '#imports'
4
5
interface EventMultipleAssetsProps {
6
titleList: Extract<Event, 'vuejs-handson' | 'cocktail-bash'>[]
7
imgHeight?: number
8
}
9
10
const props = defineProps<EventMultipleAssetsProps>()
11
+const withBase = useWithBase()
12
</script>
13
14
<template>
@@ -19,7 +21,7 @@ const props = defineProps<EventMultipleAssetsProps>()
19
21
<NuxtImg
20
22
v-for="(title, key) in titleList"
23
:key
- :src="`/event/${title}-${key + 1}.png`"
24
+ :src="withBase(`/event/${title}-${key + 1}.png`)"
25
alt=""
26
width="792"
27
height="512"
0 commit comments