mirror of
https://github.com/ArthurDanjou/trpc-nuxt.git
synced 2026-02-01 12:47:55 +01:00
Update 1.simple.md
Walking through the setup with Nuxt v3.1.0 requires accessing `.value` within the template.
This commit is contained in:
@@ -112,7 +112,7 @@ const hello = await $client.hello.useQuery({ text: 'client' })
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<p>{{ hello.data?.greeting }}</p>
|
<p>{{ hello.data.value?.greeting }}</p>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user