mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-07 20:37:44 +00:00
feat: support useSession ssr for nuxt (#209)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { createAuthClient } from "better-auth/vue";
|
||||
|
||||
export const client = createAuthClient({
|
||||
export const authClient = createAuthClient({
|
||||
baseURL: "http://localhost:3000",
|
||||
});
|
||||
|
||||
@@ -11,4 +11,4 @@ export const {
|
||||
useSession,
|
||||
forgetPassword,
|
||||
resetPassword,
|
||||
} = client;
|
||||
} = authClient;
|
||||
|
||||
Reference in New Issue
Block a user