Answers for "open route in new tab vue router"

2

open route in new tab vue router

let routeData = this.$router.resolve({name: 'routeName', query: {data: "someData"}});
window.open(routeData.href, '_blank');
Posted by: Guest on August-11-2020
2

open route in new tab vue router

let routeData = this.$router.resolve({name: 'routeName', query: {data: "someData"}});
window.open(routeData.href, '_blank');
Posted by: Guest on August-11-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language