Currently migrating a huge project from vue 2.6.x / nuxt 2 / webpack 5 to vue 2.6.x / nuxt 2 / vite / typescript and I found your svg loader working pretty well, thank you :)
But I tripped on some annoying typescript error as FunctionnalComponent<> is non existant in vue 2.
I saw in your package.json you support vue from 2.5 to vue 3 but vue 2.5+ does not work with these types :/
I came across FunctionalComponentOptions but i'm not sure if it's the same behaviour and if it's ok to use this typing instead ?
Hey, not 100% sure but you probably need Vue3 to make it work. I'll close this for now as it's been while, please reopen with a reproduction link if you're still facing an issue
Currently migrating a huge project from
vue 2.6.x / nuxt 2 / webpack 5
tovue 2.6.x / nuxt 2 / vite / typescript
and I found your svg loader working pretty well, thank you :) But I tripped on some annoying typescript error asFunctionnalComponent<>
is non existant in vue 2.I saw in your package.json you support vue from 2.5 to vue 3 but vue 2.5+ does not work with these types :/
I came across
FunctionalComponentOptions
but i'm not sure if it's the same behaviour and if it's ok to use this typing instead ?