This commit is contained in:
grimhilt
2023-04-15 17:44:47 +02:00
parent 8c7cc1f316
commit 2594f6042b
41 changed files with 117 additions and 34 deletions

View File

@@ -0,0 +1,17 @@
<script setup lang="ts">
import { defineProps } from "vue";
const props = defineProps({
svg: { type: String, required: true },
});
const pathSvg = () => require(`@/assets/svg/${props.svg}.svg`);
</script>
<template>
<div>
<img class="it-has-a-tooltip" :src="pathSvg()" />
</div>
</template>
<style scoped></style>