UNPKG

vibe-init

Version:

Create a new project with good vibes ✨ - A modern full-stack monorepo template

9 lines (8 loc) 291 B
import { createAuthClient } from "better-auth/react"; export const authClient = createAuthClient({ /** The base URL of the server (optional if you're using the same domain) */ baseURL: typeof window !== "undefined" ? window.location.origin : "http://localhost:5173", });