vue js redirect to external url new tab
let routeData = this.$router.resolve({name: 'routeName', query: {data: "someData"}});
window.open(routeData.href, '_blank');
3.86
7
window.open(`http://localhost:8081/?uid=${this.uid}`, '_blank')
Thank you!
7
0
Are there any code examples left?
New code examples in category Javascript