Nuxt support
Wundergraph can be easily be integrated with Nuxt through the Vue Query integration. Create a wundergraph.ts
in the plugins
directory, register the Vue Query plugin and the wundergraph hooks:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
You can then use it like this :
1
2
3
4
5
6
Examples
If you're interested in trying out WunderGraph with Nuxt, have a look at the following examples:
If you've got any questions, please join our Discord Community and ask away.