alias for images

This commit is contained in:
Tuğçe Küçükoğlu 2022-12-26 19:20:31 +03:00
parent 38b5526bab
commit c3b08bd370
20 changed files with 37 additions and 37 deletions

View file

@ -54,7 +54,7 @@
</Column>
<Column field="country.name" header="Country" sortable filterMatchMode="contains" style="min-width: 14rem">
<template #body="{ data }">
<img src="../../assets/images/flag_placeholder.png" :class="'flag flag-' + data.country.code" width="30" />
<img src="@/assets/images/flag_placeholder.png" :class="'flag flag-' + data.country.code" width="30" />
<span class="image-text">{{ data.country.name }}</span>
</template>
<template #filter="{ filterModel }">