Update 1.simple.md

Walking through the setup with Nuxt v3.1.0 requires accessing `.value` within the template.
This commit is contained in:
Cody Bontecou
2023-01-25 13:00:50 -10:00
committed by GitHub
parent 051d5bb325
commit 6485aa42a7

View File

@@ -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>
```