Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

300
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda