devbaji/vue3-google-login

CDN versions fail

Closed this issue · 1 comments

The CDN version of this lib on jsdelivr fails with exports not defined.

image
image

Also, although few people seem to do it. It would be very appreciated if you added a CDN example.

Hi @ItsRainingHP sorry for the really late fix 😐
Added the fix in v2.0.30
Using https://cdn.jsdelivr.net/npm/vue3-google-login@2.0.30/dist/index.umd.min.js will expose a variable Vue3GoogleLogin into window, which can be used to access some of the utility functions, might add a detailed example in docs page