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

te is undefined for composition api #833

Closed
4 tasks done
haan123 opened this issue Dec 17, 2021 · 2 comments
Closed
4 tasks done

te is undefined for composition api #833

haan123 opened this issue Dec 17, 2021 · 2 comments
Labels
Status: Review Needed Request for review comments

Comments

@haan123
Copy link

haan123 commented Dec 17, 2021

Reporting a bug?

I'm using "vue-i18n": "9.0.0-beta.6" and "vue": "^3.0.0".

Trying to access the te method from const { t, te } = useI18n() but the te is undefined

Expected behavior

te should be available

Reproduction

N/A

System Info

Mac OS
Chrome

Screenshot

No response

Additional context

No response

Validations

@haan123 haan123 added the Status: Review Needed Request for review comments label Dec 17, 2021
@PeterAlfredLee
Copy link
Member

Hi, @haan123 ,
API te was originally introduced by PR #200, so "vue-i18n": "9.0.0-beta.6" does not include it.
Please upgrade your vue-i18n version, hope this helps.

@haan123
Copy link
Author

haan123 commented Dec 18, 2021

Ahh, i think it will work, thank you and have a nice day!

@haan123 haan123 closed this as completed Dec 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Review Needed Request for review comments
Projects
None yet
Development

No branches or pull requests

2 participants