Closed Antti closed 2 years ago
Hi, that's really great! How did you come up with it? Thanks 👍
Thanks!
I was trying to fix this issue in different ways, and I noticed that it fixed itself once I returned a JS object with a render function instead of the render function itself.
For some reason, if you just return render function (and not JS object as a component), attribute inheritance doesn't work.
Fix it by returning a normal Vue component with
render
function instead of a plainrender
functionFixes https://github.com/jpkleemans/vite-svg-loader/issues/29