How to redirect a User after Login to a specific page in practice?

Hi. I have read the articles about redirecting a user after successfully login to a specific page like this one using a specific state: Prevent Attacks and Redirect Users with OAuth 2.0 State Parameters.

However, I don’t know how to achieve this in our VueJS-application. Following the official VueJS-Auth0-Example, how would one solve our issue?

I could imagine, that auth0Client.loginWithRedirect would be the right candidate to add some state-variables. But how to do that and also: which event would be the right candidate in order to receive this state back and to perform some redirect after successful login?

Thank you very much for any hints!
Best, Clubbing