Redirect to page after action



  • Please how do I redirect after an action in quasar

    this.thedebiturl = 'url here;
    this.$axios.get(this.thedebiturl)
    .then((response) => {
    this.regstatus = response.data.status
    })
    .catch(() => {
    this.$q.notify({
    color: ‘negative’,
    position: ‘top’,
    message: ‘failed’,
    icon: ‘report_problem’
    })
    })



  • This.$router.push("/home") or
    This.$router.push({name: “home”})

    Good luck


Log in to reply