You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With version 2.0.5, it doesn't seem to export LoaderPlugin.
This is from the docs.
import { LoaderPlugin } from 'vue-google-login';
Then add the plugin to the Vue instance with the params, client_id is the only property required but you can add some optional.
Vue.use(LoaderPlugin, {
client_id: CLIENT_ID
});
Line 321-325 in vue-google-login seem to add the objects to the exports but the values are undefined except for default.
Note: Using require instead of import shows all of the objects.
const GoogleLogin = require('vue-google-login');
"vue-google-login": "^2.0.5",
With version 2.0.5, it doesn't seem to export LoaderPlugin.
This is from the docs.
import { LoaderPlugin } from 'vue-google-login';
Then add the plugin to the Vue instance with the params, client_id is the only property required but you can add some optional.
Line 321-325 in vue-google-login seem to add the objects to the exports but the values are undefined except for default.
Note: Using require instead of import shows all of the objects.
const GoogleLogin = require('vue-google-login');
{GoogleLogin: {…}, LoaderPlugin: {…}, default: {…}, __esModule: true}
GoogleLogin: {name: "GoogleLogin", props: {…}, methods: {…}, beforeCreate: ƒ, mounted: ƒ, …}
LoaderPlugin: {install: ƒ}
default: {name: "GoogleLogin", props: {…}, methods: {…}, beforeCreate: ƒ, mounted: ƒ, …}
__esModule: true
proto: Object
The text was updated successfully, but these errors were encountered: