Navigation

    Quasar Framework

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Redirect to page after action

    Framework
    2
    2
    1320
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E
      eoikoncept last edited by

      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’
      })
      })

      1 Reply Last reply Reply Quote 0
      • syflex
        syflex last edited by

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

        Good luck

        1 Reply Last reply Reply Quote 1
        • First post
          Last post