i18n icon indicating copy to clipboard operation
i18n copied to clipboard

Warning: Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead.

Open frasza opened this issue 11 months ago • 11 comments

Environment


  • Operating System: Windows_NT
  • Node Version: v21.6.2
  • Nuxt Version: 3.11.0
  • CLI Version: 3.10.1
  • Nitro Version: 2.9.4
  • Package Manager: [email protected]
  • Builder: -
  • User Config: modules, devtools
  • Runtime Modules: @nuxtjs/[email protected]
  • Build Modules: -

Reproduction

https://github.com/frasza/i18n-warn

Spin up dev server, open dev tools and click on NuxtLink. Warning appears.

Describe the bug

Recently I noticed warning popup in my Nuxt project and I have tried to set up fresh Nuxt project with i18n dependacy and I still get warning when for navigating across pages.

Warning:

[Vue warn]: Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead.

Noticed that I get warning the moment I add i18n to the modules.

Additional context

No response

Logs

No response

frasza avatar Mar 18 '24 15:03 frasza