Google OAuth2 plugin for Vue3 Apps. This uses latest Google Identity Service Library. It also provides set of composables which can be used easily to implement different authentication strategies
I've noticed that the TypeScript type definitions, previously available in the dist folder, are missing in version 1.3.4 of vue3-google-signin. This change has led to TypeScript compilation errors in my project due to the missing type information.
As a temporary workaround, I have manually added the type definitions to my project like below, but it would be ideal to have them included in the package itself.
import GoogleSignInButton from 'vue3-google-signin/dist/components/GoogleSignInButton.vue';
To Reproduce
Steps to reproduce the behaviour:
Import GoogleSigninButton to your project as described in README.
import { CredentialResponse, GoogleSignInButton } from 'vue3-google-signin';
See the type error.
Expected behaviour
The import should return no type errors with the import like below.
import { CredentialResponse, GoogleSignInButton } from 'vue3-google-signin';
Additional context
It occurs in the development environment.
Describe the bug
Hello,
I've noticed that the TypeScript type definitions, previously available in the
dist
folder, are missing in version 1.3.4 ofvue3-google-signin
. This change has led to TypeScript compilation errors in my project due to the missing type information.As a temporary workaround, I have manually added the type definitions to my project like below, but it would be ideal to have them included in the package itself.
import GoogleSignInButton from 'vue3-google-signin/dist/components/GoogleSignInButton.vue';
To Reproduce Steps to reproduce the behaviour:
import { CredentialResponse, GoogleSignInButton } from 'vue3-google-signin';
Expected behaviour
import { CredentialResponse, GoogleSignInButton } from 'vue3-google-signin';
Additional context It occurs in the development environment.