Use the composable useSignOut to sign out the user.

import { useSignOut } from '@nhost/vue'

const { signOut, isSuccess } = useSignOut()

const handleSignOut = async (e) => {
  e.preventDefault()
  await signOut()
}