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

Using nuxt-18n inside og-image component #222

Open
ptdev opened this issue Jun 27, 2024 · 0 comments
Open

Using nuxt-18n inside og-image component #222

ptdev opened this issue Jun 27, 2024 · 0 comments

Comments

@ptdev
Copy link

ptdev commented Jun 27, 2024

Hey there,

Apparently we cannot use nuxt-i18n's composables or utilities on the og-image component like useI18n() or $t()

This is supposedly due to nuxt-i18n not supporting server side components.

Demo/Repro: https://stackblitz.com/edit/nuxt-starter-hhx9yk?file=pages%2Findex.vue

I've posted this on your Discord and you've suggested that I open an issue to track this.

Thanks again, cheers 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant