The Complete Guide to Vue User Authentication with Auth0

Hi Dan,

Thank you for the guide.

I get the following error when inplementing this with Vue 2.
This is when I load the site.

TypeError: Object(…) is not a function
at _callee2$ (auth0-plugin.js:66:1)
at tryCatch (runtime.js:64:1)
at Generator.invoke (runtime.js:299:1)
at Generator.eval [as next] (runtime.js:124:1)
at asyncGeneratorStep (asyncToGenerator.js:3:1)
at _next (asyncToGenerator.js:22:1)
at eval (asyncToGenerator.js:27:1)
at new Promise ()
at eval (asyncToGenerator.js:19:1)
at Vue.created (auth0-plugin.js:66:1)

What can be wrong?

/Karl

Hello, @kalle.elmberg ! Could you please try our latest Developer Guide?

It also has a companion code sample that simplifies troubleshooting :slight_smile: The preview card says “Composition API” but the link will take you to the Vue.js v2 guide that uses the Options API :+1: