Use the composable useNhostClient to get the Nhost JavaScript client (https://docs.nhost.io/reference/javascript/nhost-js/nhost-client).
const { nhost } = useNhostClient()