update docs

This commit is contained in:
wobsoriano
2022-11-24 12:51:28 -08:00
parent b27938f108
commit 68003e9c3e
4 changed files with 52 additions and 9 deletions

View File

@@ -4,12 +4,6 @@ import type { inferRouterOutputs } from '@trpc/server';
import type { AppRouter } from '~~/server/trpc/routers';
const { $client } = useNuxtApp()
// const headers = useClientHeaders()
// const addHeader = () => {
// headers.value.authorization = 'Bearer abcdefghijklmnop'
// console.log(headers.value)
// }
const addTodo = async () => {
const title = Math.random().toString(36).slice(2, 7)