TanStack Start + Convex + Clerk + Tailwind + shadcn/ui wired up and working. Auth flow (sign-in/sign-out/redirect) confirmed. Convex getCurrentUser query validates the Clerk JWT integration end-to-end. Key implementation notes: - All Clerk imports use @clerk/react (v6), not @clerk/clerk-react (v5), to match @clerk/tanstack-react-start's internal dependency - ConvexProviderWithClerk is SSR-guarded via import.meta.env.SSR to avoid useAuth being called server-side - Convex + auth hooks isolated in a client-only Dashboard sub-component Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
21 lines
423 B
JSON
21 lines
423 B
JSON
{
|
|
"$schema": "https://ui.shadcn.com/schema.json",
|
|
"style": "new-york",
|
|
"rsc": false,
|
|
"tsx": true,
|
|
"tailwind": {
|
|
"config": "",
|
|
"css": "src/styles.css",
|
|
"baseColor": "zinc",
|
|
"cssVariables": true,
|
|
"prefix": ""
|
|
},
|
|
"aliases": {
|
|
"components": "#/components",
|
|
"utils": "#/lib/utils",
|
|
"ui": "#/components/ui",
|
|
"lib": "#/lib",
|
|
"hooks": "#/hooks"
|
|
},
|
|
"iconLibrary": "lucide"
|
|
} |