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 bb2fe4c commit b6fd8c3Copy full SHA for b6fd8c3
apps/web/app/components/ticket/NamecardSection.vue
@@ -1,8 +1,10 @@
1
<script setup lang="ts">
2
import { useLocaleCurrent } from '~/composables/useLocaleCurrent'
3
import { endedApplyNormal, endedCreateNamecard, ticketUrl } from '~/utils/constants'
4
+import { useWithBase } from '#imports'
5
6
const { locale: currentLocale } = useLocaleCurrent()
7
+const basePath = useWithBase()
8
</script>
9
10
<template>
@@ -25,7 +27,7 @@ const { locale: currentLocale } = useLocaleCurrent()
25
27
26
28
<div class="content-wrapper">
29
<NuxtImg
- :src="'/namecard/namecard-samples.png'"
30
+ :src="basePath('/namecard/namecard-samples.png')"
31
alt="test"
32
width="596"
33
loading="lazy"
0 commit comments