0👍
Try, for example
<template>
<mdicon :name="icon1"/>
<template/>
<script>
export default {
data: () => ({
icon1: 'mdi-share-variant-outline'
})
}
</script>
- [Vuejs]-In vue router, If it is possible to use dynamic routering using HTML5 history mode?
- [Vuejs]-Render component in vue based on condition
Source:stackexchange.com