In my nuxt js project , when user clicked button, method works and it creates a link. I route user to a new page. Sure i want to open this in new target . I could not find any solution for this in nuxt js.
<a :href="`/ticketPrint?${urlLink}`" target="_blank">Go to url</a>
if i apply this way, it works in second click because in first click creates link. So i dont wanna use this way . I want to route it inside my method.
async printData(){
......
await this.$router.push(this.urlLink)
}
Sure i want to open this in blank page. and i create this new page based url query informations.
printDatais used for, here. - kissu