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
Manually creating a component instance like that in setup will break this plugin, correct.
In a way it's expected behaviour, as calling new Message() made this component the currentInstance, so now all hooks expect to be called within this instance's setup function.
The proper way to handle that would probably be to create that instance within a hook like oncreated(), not within setup()`, but I'm not sure if that works for your situation.
So can you provide a bit of context for the use case that you have for this?
The hook is not working properly
Error: [vue-function-api] "onCreated" get called outside of "setup()"
The text was updated successfully, but these errors were encountered: