Closed manniL closed 5 years ago
Researched a bit and it could be an issue with template functional
and Nuxt.
Would it be possible to move the things to a functional render function?
@manniL we could do that, but we need to add HMR support manually. (should be easy though.)
@egoist Awesome! A non-functional template
would be fine too if that'd be easier.
@manniL yeah, from I've heard from Evan, we don't need functional components just for perf gains in Vue 3 either, I will update it to use stateful component ππ»
@egoist Heard that too π Many thanks! βΊοΈ
:tada: This issue has been resolved in version 0.3.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Heya!
Finally did the switch for https://github.com/Developmint/nuxt-svg-loader thanks to @wagerfield.
And something broke π π
I can't lazy-load components with it anymore on server-side: Repro: https://mj87xr1kyp.sse.codesandbox.io/
Somehow this happens only sometimes with just one lazyloaded SVG but always with 2+.
PS: This was/is possible with https://github.com/visualfanatic/vue-svg-loader.