-
-
Notifications
You must be signed in to change notification settings - Fork 522
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error with Vue 3 Composition API #1136
Comments
Don't need import { provide } from 'vue' |
That's actually also what I have. I import I have the following code, which works for me:
|
I don't remember the specifics but getting Vue Apollo to work is kind of hacky. As suggested in this video at some point you'd have to |
If you import from |
True that, react is not needed but are there any fixes to get rid of the errors? |
@Manubi if you type in like npm install --save @vue/apollo-composable --force, or --legacy-peer-deps; |
Not that it is the way to go, but perhaps when you attempt to catch some errors during the link. Not that vue-apollo does but apollo itself requires react as dependency, sadly it relies on it at some ends. |
The docs need to be updated. |
The whole docs are a mess. You even don’t really know on what version you are… |
Sorry for cross-posting, but I have also this issue To Reproduce
I doubt that the |
how is this issue resolved? I have the same issue error in ./node_modules/@vue/apollo-composable/dist/index.esm.js
@ ./src/main.ts 6:0-55 15:12-25 main.ts const app = createApp({ app.use(store).use(router).mount('#app'); |
@engeman2008 You seem to be describing another issue. Are you perhaps using |
Yes, Thank you. This solved my issue |
I'm trying to get vue-apollo up and running using:
Using the following simple Vue app (CompositionAPI) that follows the guide for composable API:
But this throws:
The text was updated successfully, but these errors were encountered: