I am facing this issue : Uncaught TypeError: Class constructor VueSocialauth cannot be invoked without 'new'
Closed this issue · 4 comments
AbaidKhan commented
When I write this in app.js
Vue.use(VueSocialauth, {
providers: {
google: {
clientId: '',
client_secret: '',
redirectUri: 'https://.../auth/google/callback'
}
}
});
diadal commented
follow the instruction it should work
AbaidKhan commented
follow the instruction it should work
I have follow the instructions but It gives me this error. app.js Uncaught TypeError: Class constructor VueSocialauth cannot be invoked without 'new'
diadal commented
Share your full code
diadal commented
you can try with this version https://github.com/diadal/universal-social-auth more stable example here https://github.com/diadal/universal-social-auth-test-vu2