Use with heroicons?
ncamaa opened this issue · comments
Is there an easy way to use this library with a completely free-to-use icon library like https://github.com/matschik/vue-hero-icons?
@yaminncco
yes you can
import { AnnotationIcon } from '@vue-hero-icons/outline'
...
icon: {
element: AnnotationIcon
}
element property accept either the name of a registered component, or a component object
@yaminncco - thanks for the reply. However, I tried this before, and it isn't working for me.
https://pastebin.com/P25nL9fv
it seems the icons doesn't support vue3
Thanks! That was the problem. heroicons for vue 3