Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

304
Views
Vuejs router with Ionic - Remove page from history stack to avoid go back

I am currently building app with Ionic framework using Vuejs. I currently struggling with router navigation. I will explain problem as below:

I have 3 screens, Home Page, Form Step 1 and Form Step 2. Normal order of flow is:

"Home Page" -> "Form Step 1" -> "Form Step 2"

I am using router.push() at each page so that use can go back to previous page at any stage (using android back button). But I want once use completes the "Form Step 2" and I navigate back to "Home Page" then back button should not work.

I searched a lot how to pop history stack, but i can't find any. I used router.replace() on "Form Step 2", but that only pops "Form Step 2" page, and if use click back button on home page it is taking to "Form Step 1".

I tried all router.navigate() as well, but none is working. Any idea how to solve this issue?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!