I would like to know how can I change this
computed: {
currentUrl () {
return this.$route.path
},
},
watch: {
currentUrl (newURl, firstUrl) {
if ((!this.$cookiz.get('firstUrl')) && ((this.check === undefined) || (this.check === 0))) {
this.showPopUp()
}
}
},
with a watch that stops once after detect the first change or the url. Any idea would be appreciated. Thanks a lot.