WIP component for more easily rendering svgs that are inline to be able to reach by id or class

This commit is contained in:
2019-06-02 15:28:09 +02:00
parent b3e8e447e2
commit 95629a2899

View File

@@ -0,0 +1,9 @@
<template>
<div v-html="require(`@/assets/icons/${ icon }.svg`)"></div>
</template>
<script>
export default {
props: ['icon']
}
</script>