Warning loop since router update in nuxt 2.3.4/1.4.5

Zsavajji
0
Zsavajji
commented 14 days ago

Version

v5.4.4

Reproduction link

https://codesandbox.io/s/y7pqv48y19

Steps to reproduce

Navigate to the dynamic route, console is spammed with loop of "[vue-router] missing param for named route "test-all___en": Expected "0" to be defined", in client when navigating, or in server when going directly.

What is expected ?

Should not produce warnings.

What is actually happening?

Produces warnings when the route is manually localized in nuxt config.

Additional comments?

This is maybe a consequence of the new handling of dynamic route params in vue-router 3.0.2. Also happens in nuxt 1.4.5, which has the updated vue-router.

bug
0
rchl
3
rchl
commented 7 days ago
0
manniL
2.9k
manniL
commented 6 days ago

Duplicate/out of scope

0
Informations
Bug Report โ€ข Open
#c171 - Created 14 days ago