Render slots in defineAsyncComponent.loadingComponent #10400
Unanswered
Sergdan1992
asked this question in
Help/Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The loadingComponent in defineAsyncComponent omit render default slot. I want the slot content to be displayed when loading an asynchronous component, because if I use an asynchronous component, the slot content flashes after the asynchronous component is loaded.
The solution to avoid the flashing is to remove defineAsyncComponent. But then the component is loaded on other pages, where it is not used.
Link for reproduce
Is it posible to render the slot in createVNode?
Beta Was this translation helpful? Give feedback.
All reactions