You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm upgrading a vue2 app to vue3 and running into a problem with PortalVue. The app is creating a PortalTarget inside of a Bootstrap-Vue modal confirmation dialog (dynamically created):
This gives me an error that "resolveComponent can only be used in setup() or render()," so I imported the PortalTarget component and used it directly, and that's when I get the error mentioned in the subject.
[Vue warn]: injection "Symbol(wormhole)" not found.
[portal-vue]: Necessary Injection not found. Make sur you installed the plugin properly.
I'm sure PortalVue is installed correctly. I've also tried using resolveComponent in the setup function and returning it from there, but I get the same error. This was all working fine with PortalVue 2.x. Is there any reason that creating the PortalTarget component dynamically like this would not work in PortalVue 3?
The text was updated successfully, but these errors were encountered:
I'm upgrading a vue2 app to vue3 and running into a problem with PortalVue. The app is creating a PortalTarget inside of a Bootstrap-Vue modal confirmation dialog (dynamically created):
This gives me an error that "resolveComponent can only be used in setup() or render()," so I imported the PortalTarget component and used it directly, and that's when I get the error mentioned in the subject.
I'm sure PortalVue is installed correctly. I've also tried using resolveComponent in the setup function and returning it from there, but I get the same error. This was all working fine with PortalVue 2.x. Is there any reason that creating the PortalTarget component dynamically like this would not work in PortalVue 3?
The text was updated successfully, but these errors were encountered: