Skip to content

Releases: wobsoriano/trpc-nuxt

v0.10.1

12 May 18:26
Compare
Choose a tag to compare

   🏡 Chore

   🐞 Bug Fixes

    View changes on GitHub

v0.9.0

14 Apr 20:06
Compare
Choose a tag to compare

   🚀 Features

   🐞 Bug Fixes

    View changes on GitHub

v0.8.0

28 Mar 05:56
Compare
Choose a tag to compare

   🐞 Bug Fixes

    View changes on GitHub

v0.7.0

20 Feb 17:18
Compare
Choose a tag to compare

   🚀 Features

    View changes on GitHub

v0.6.0

05 Feb 05:01
Compare
Choose a tag to compare

   🚀 Features

    View changes on GitHub

v0.5.0

07 Jan 01:52
Compare
Choose a tag to compare
    View changes on GitHub

v0.4.4

19 Dec 07:43
Compare
Choose a tag to compare

   🚀 Features

Usage

import { createTRPCNuxtClient, httpBatchLink } from 'trpc-nuxt/client'
import type { AppRouter } from '~/server/trpc/routers'

const client = createTRPCNuxtClient<AppRouter>({
  links: [
    httpBatchLink({
      url: '/api/trpc',
    }),
  ],
})
<script setup lang="ts">
const { $client } = useNuxtApp()

const hello = await $client.hello.useQuery({ text: 'world' })
</script>

<template>
  <div>
    <p>{{ hello.data?.greeting }}</p>
  </div>
</template>
    View changes on GitHub

v0.4.3

24 Nov 21:12
Compare
Choose a tag to compare

   🚀 Features

  • deps: Update minimum required @trpc/server and @trpc/nuxt version to 10.0.0  -  by @wobsoriano (5cf1a)
    View changes on GitHub

v0.4.2

17 Nov 10:42
Compare
Choose a tag to compare

   🚀 Features

   🐞 Bug Fixes

    View changes on GitHub

v0.4.1

13 Nov 04:16
Compare
Choose a tag to compare

   🚀 Features

    View changes on GitHub