bugfix: use static references to images so nuxt generate knows about them
This commit is contained in:
parent
61514f1234
commit
fb8adade60
@ -1,5 +1,10 @@
|
|||||||
<template>
|
<template>
|
||||||
<img class="icon" :src="`/assets/icons/${name}.svg`" />
|
<img v-if="name === 'add'" class="icon" src="/assets/icons/add.svg" />
|
||||||
|
<img v-if="name === 'crown'" class="icon" src="/assets/icons/crown.svg" />
|
||||||
|
<img v-if="name === 'edit-white'" class="icon" src="/assets/icons/edit-white.svg" />
|
||||||
|
<img v-if="name === 'edit'" class="icon" src="/assets/icons/edit.svg" />
|
||||||
|
<img v-if="name === 'reload'" class="icon" src="/assets/icons/reload.svg" />
|
||||||
|
<img v-if="name === 'trash'" class="icon" src="/assets/icons/trash.svg" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
Loading…
Reference in New Issue
Block a user