[Vuejs]-Deep link routing to Android/IOS app in vue js

0👍

userAgent.match() will return an Array type. Then in beforeCreate hook you’re checking if those consts are strings, but they are arrays possibly carrying those strings inside them. You also perform similar checks in the created hook. That is probably why your statements never execute.

Leave a comment