UNPKG
create-jaydee-app
Version:
latest (2.0.9)
2.0.9
2.0.8
2.0.7
2.0.6
2.0.5
2.0.4
2.0.3
2.0.2
2.0.0
1.0.2
1.0.1
1.0.0
This is a project created with Create Jaydee App.
create-jaydee-app
/
templates
/
betterauth
/
src
/
lib
/
auth-client.ts
6 lines
(5 loc)
•
202 B
text/typescript
View Raw
1
2
3
4
5
6
import
{ createAuthClient }
from
"better-auth/react"
;
import
getBaseUrl
from
"~/lib/get-base-url"
;
export
const
{ signIn, signOut, signUp, useSession } =
createAuthClient
({
baseURL
:
getBaseUrl
(), });