add nuxt and expo with orpc

This commit is contained in:
Aman Varshney
2025-04-23 13:03:38 +05:30
parent 49c7d4f436
commit d3a80b7e63
145 changed files with 2013 additions and 874 deletions

View File

@@ -0,0 +1,10 @@
import { createAuthClient } from "better-auth/react";
export const authClient = createAuthClient({
baseURL:
{{#if (includes frontend "next")}}
process.env.NEXT_PUBLIC_SERVER_URL,
{{else}}
import.meta.env.VITE_SERVER_URL,
{{/if}}
});