- Add dashboard shell with auth integration - Wire Better Auth / Convex (client, server, HTTP routes) - Add shadcn-style UI primitives and logo assets - Update global styles and landing page - Add internal docs (.docs) Made-with: Cursor
8 lines
280 B
TypeScript
8 lines
280 B
TypeScript
import { createAuthClient } from "better-auth/react";
|
|
import { convexClient } from "@convex-dev/better-auth/client/plugins";
|
|
|
|
// Next.js: kein crossDomainClient nötig (same-origin via API Route Proxy)
|
|
export const authClient = createAuthClient({
|
|
plugins: [convexClient()],
|
|
});
|