Skip to content

vue-router warnings when leaving a url with useSetI18nParams().

Open

Description

Environment

  • Operating System: Windows 10
  • Node Version: v20.9.0
  • Nuxt Version: 3.12.4
  • Nitro Version: 2.9.7
  • Package Manager: [email protected]
  • User Config: i18n, vite
  • Runtime Modules: @nuxtjs/[email protected]

Reproduction

https://stackblitz.com/~/github.com/patriciorivera/i18n
https://github.com/patriciorivera/i18n

Describe the bug

I'm not sure if it's a bug. It's possibly something I'm doing wrong, but I can't figure it out.

I'm getting vue-router warnings in the devtools when I'm on a page that has dynamic parameters and uses useSetI18nParams() and I go to another route that doesn't have parameters.

Reproduction:

  1. click on a product
  2. click about section or home

You will see vue-router warnings at chrome devtools

image

Additional context

No response

Logs

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

routingv8v9🔨 p3-minor-bugPriority 3: a bug in an edge case that only affects very specific usagePriority 3: a bug in an edge case that only affects very specific usage

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions