feat(frontends): added vite and docusorus into the games

This commit is contained in:
2026-02-18 12:11:51 -06:00
parent 23c000fa7f
commit 76503f558b
72 changed files with 26865 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
import { createAuthClient } from 'better-auth/react'
export const authClient = createAuthClient()

9
frontend/src/lib/auth.ts Normal file
View File

@@ -0,0 +1,9 @@
import { betterAuth } from 'better-auth'
import { tanstackStartCookies } from 'better-auth/tanstack-start'
export const auth = betterAuth({
emailAndPassword: {
enabled: true,
},
plugins: [tanstackStartCookies()],
})

View File

@@ -0,0 +1,7 @@
import type { ClassValue } from 'clsx'
import { clsx } from 'clsx'
import { twMerge } from 'tailwind-merge'
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs))
}