Open
Description
Hi ! 👋🏻
I was wondering if that kind of code may work <component is="svg-grey-home"></component>
.
Because we have Nuxt components now, so maybe it is possible in any way.
Without having to use
<script>
export default {
components: {
SvgGreyHome: () => import('~/assets/svg/grey/home.svg'),
},
}
</script>
In my case, writting <svg-grey-home></svg-grey-home>
totally works (the setup is done for that) but I want to make it dynamic without the need to import it beforehand.
Metadata
Metadata
Assignees
Labels
No labels