Skip to content
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

fix(nuxt-bridge): add support for nuxt bridge #422

Open
wants to merge 1 commit into
base: v4
Choose a base branch
from

Commits on Dec 20, 2021

  1. fix(nuxt-bridge): add support for nuxt bridge

    Nuxt Bridge exposes the Nuxt 2 context via nuxtApp.nuxt2Context.
    
    However, when doing `app.apolloProvider`, the apolloProvider is not added to this context.
    
    In order to get the apolloProvider onto this nuxt2Context, we must use inject().
    
    However, it requires a different name than "apolloProvider" when injecting, or we get errors.
    Jamiewarb committed Dec 20, 2021
    Configuration menu
    Copy the full SHA
    e10cdcf View commit details
    Browse the repository at this point in the history