'Cordova android app is not redirecting to next page after i change the history route mode to hash mode

i am building cordova android app using vue js, and i change the history route mode in to hash after that the app is only showing the first login page and is not redirecting to next page after i write my credential. i think the # sign in my url is privatizing it from redirecting to next page. i use push to redirect login user to home page. below is my route:

const router = new VueRouter({
   mode: "hash",
   base: process.env.BASE_URL,
   routes,
});


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source