I want to pass the names dynamically. But if they have not been loaded before, the icon does not appear.
<UIcon :name="myDynamicIcon" />
const myDynamicIcon = ref('i-mdi-file-tree');
Is it possible to use an IconifyIcon object like this?
import { getIcon } from '@iconify/vue';
const myDynamicIcon = ref(getIcon('i-mdi-file-tree'));
Docs: https://iconify.design/docs/icon-components/vue/get-icon.html