Commit 307e127
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 307e127
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| 116 | + | |
116 | 117 | | |
117 | 118 | | |
118 | 119 | | |
| |||
0 commit comments