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

113
Views
El enrutamiento dinámico no fue a las rutas esperadas

Estoy usando Vue Router en el proyecto Vue como enrutador y tengo estas rutas:

 0: {path: '/', component: {…}, children: Array(1)} 1: {path: '/readme', component: {…}, children: Array(1)} 2: {path: '/modal', component: {…}, children: Array(1)} 3: {path: '/table', component: {…}, children: Array(1)} 4: {path: '/:locale', component: {…}, children: Array(1), beforeEnter: ƒ} 5: {path: '/:locale/readme', component: {…}, children: Array(1), beforeEnter: ƒ} 6: {path: '/:locale/:all(.*)*', children: Array(1), component: ƒ, beforeEnter: ƒ} 7: {path: '/:locale/modal', component: {…}, children: Array(1), beforeEnter: ƒ} 8: {path: '/:locale/table', component: {…}, children: Array(1), beforeEnter: ƒ} 9: {path: '/:all(.*)*', children: Array(1), component: ƒ} length: 10 [[Prototype]]: Array(0)

Cuando traté de http://localhost:4000/id/modal funciona, pero cuando traté de http://localhost:4000/id siempre iba a /:all(.*)* en su lugar. ¿Por qué sucedió eso?

Además, ¿cómo podría cambiar /:locale a OR lógica como /(id/jp) , es eso posible?

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!