Version 2.0.41 — useGoogleSdk composable & TypeScript improvements
What's new
useGoogleSdk composable
A new composable that exposes reactive Google SDK state — useful for disabling custom buttons until the GSI SDK is fully loaded.
<script setup>
const { isLoaded } = useGoogleSdk()
</script>
<template>
<button :disabled="!isLoaded" @click="login">
Sign in with Google
</button>
</template>