mirror of
https://github.com/ArthurDanjou/trpc-nuxt.git
synced 2026-02-01 12:47:55 +01:00
update readme
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<script setup lang="ts">
|
||||
const { data, error } = await useTrpcQuery('getUser', {
|
||||
name: 'john',
|
||||
name: 'johns',
|
||||
})
|
||||
|
||||
watchEffect(() => {
|
||||
@@ -10,5 +10,5 @@ watchEffect(() => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div>hello</div>
|
||||
<div>{{ data.name }}</div>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user