Commit e10cdcf
committed
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.1 parent 83e4642 commit e10cdcf
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| 116 | + | |
116 | 117 | | |
117 | 118 | | |
118 | 119 | | |
| |||
0 commit comments