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

246
Views
¿Cómo redirigir a otra ruta en Nuxt?

Hola quiero redirigir a una ruta interna.

Ejemplo

 https://mylink.com/some-page.html and my fetch link https://mylink.com/another-page.html

Uso router.replace pero agrega el último enlace dentro del primero. ¿Cómo solucionar esto para reemplazar el primer enlace por el segundo?

yo suelo

 window.location

¿Es posible hacerlo con otra solución gracias a vue router?

la idea es

 params {'another-page'}

pero la API devuelve la URL completa: https://mylink.com/another-page.html , no solo la ruta.

¿Cómo lograr esto?

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

Puedes usar this.$router.push('/another-page'); para enlaces internos.

about 4 years ago · Juan Pablo Isaza Report

0

Probablemente debería tomar la URL recibida y cortar la última parte para tener solo la ruta. Luego, puede usar el enrutador Vue para pasar a la página correspondiente dentro de su aplicación Nuxt.

about 4 years ago · Juan Pablo Isaza Report
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!