Closed jens-morten-mikkelsen closed 2 years ago
Hi,
The error that you provided narrows it down to the exact same issue, why VueQueryPlugin
approach does not work for you.
This is exactly the same approach as we are using to check if we can get the QueryClient
from the context:
It appears that the application instance cannot be found. Why that happens i do not know, but it must be connected with the way you are instantiating Vue application.
okay, thank you
Hello, i recently tried using
useQueryProvider
in my setup, that can have multiple root compontent. It is using vue 2.7, and a normalVue.use()
installation doesn't work (for what ever reason, but this has its own seperate issue). After i switched one of my components over touseQueryProvider
, im getting this error in the Browser:this is my component: