Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v9 rc2 useTranslation not found #3179

Open
alexcroox opened this issue Oct 14, 2024 · 0 comments
Open

v9 rc2 useTranslation not found #3179

alexcroox opened this issue Oct 14, 2024 · 0 comments

Comments

@alexcroox
Copy link

alexcroox commented Oct 14, 2024

Environment


  • Operating System: Linux
  • Node Version: v18.20.3
  • Nuxt Version: 3.13.2
  • CLI Version: 3.14.0
  • Nitro Version: 2.9.7
  • Package Manager: [email protected]
  • Builder: -
  • User Config: -
  • Runtime Modules: -
  • Build Modules: -

Reproduction

https://stackblitz.com/edit/bobbiegoede-nuxt-i18n-starter-47lmie?file=package.json,nuxt.config.ts,i18n%2Fi18n.config.ts,server%2Fapi%2Ftest.get.ts,app%2Fpages%2Findex.vue

Describe the bug

I'm using the latest Nuxt with v4 compatability. I'm also using v9 rc2 of @nuxtjs/i18n.

Since upgrading this i18n I'm getting the fatal error on my APIs for useTranslation not being available. See repro above for a demo of this.

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
Projects
None yet
Development

No branches or pull requests

1 participant