Use the composable useSignOut to sign out the user.
useSignOut
import { useSignOut } from '@nhost/vue' const { signOut, isSuccess } = useSignOut() const handleSignOut = async (e) => { e.preventDefault() await signOut() }
Was this page helpful?