hello.js icon indicating copy to clipboard operation
hello.js copied to clipboard

About url in "Vue" framework

Open ldc2726 opened this issue 7 years ago • 1 comments

In vue, the url path is concatenated with /#/login, and the url cannot be filled with special characters like # when authorizing, which will lead to the problem that the third-party login redirection cannot be returned.

ldc2726 avatar Dec 28 '18 05:12 ldc2726

Try using vue router in history mode

This removes the hash from your URLs

However by doing so you would need to configure your server differently such that all URLs return the SPA index.html file

mkomod avatar Mar 11 '19 04:03 mkomod