mirror of
https://github.com/ArthurDanjou/trpc-nuxt.git
synced 2026-01-14 20:19:33 +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>
|
||||
<div>
|
||||
<p>{{ hello.data?.greeting }}</p>
|
||||
<p>{{ hello.data.value?.greeting }}</p>
|
||||
</div>
|
||||
</template>
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user