chore: 添加 better-auth 依赖并创建 authClient 实例

This commit is contained in:
2025-12-11 03:36:30 +07:00
parent 2b0fe71283
commit 0af835e17c
3 changed files with 173 additions and 0 deletions

5
src/auth/index.ts Normal file
View File

@@ -0,0 +1,5 @@
import { createAuthClient } from "better-auth/vue";
export const authClient = createAuthClient({
baseURL: "http://192.168.1.36:9527", // The base URL of your auth server
});