i want the specific url so that the user can copy it and access through that link. But everytime i am trying to do so in the same browser the link is opening. But in the other browser it is changing the url and redirecting it to home page
template of vue.js app
<vs-alert color="primary" title="Share this link " active="true">
<vs-progress indeterminate color="primary"></vs-progress>
<a :href="path">
<span class="cursor-pointer" > Copy Link </span></a>
{{ fullUrl }}
</vs-alert>
this is the script
computed:{
path(){
var paths = this.$router.resolve({name: 'recruiter-postedjob', params: {id: this.id}}).href
this.fullUrl = window.location + paths
return paths
},
when in another browser i am trying to use the same link it is changing the link as
If anyone could tell me a way to generate a link.