Static GitHub Issues

[2841] Unable to Lazy Load Functional Component

prev: Can't seem to get a 404.html error page to generate correctly
next: DevTools failed to parse SourceMap when having custom routes

Greeting,

I was trying to lazy load some functional components, and I encountered this #2565

anyway, I disabled optimizeSSRin order to get over the _vm._ssrNode error but I encountered the Cannot read property 'Ctor' of undefined

ctor

And the Error was disappearing if we make the component as a normal one or we stop lazy loading it.

PS: most of our functional components are SVG wrapped icons, so it makes a good sense to set them as functional one and lazyload them.

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c2467">#c2467</a>)</em></sub></div>