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

chore(TSE-1415): Update examples #115

Merged
merged 3 commits into from
Jan 30, 2024
Merged

chore(TSE-1415): Update examples #115

merged 3 commits into from
Jan 30, 2024

Conversation

Varpuspaavi
Copy link
Contributor

@Varpuspaavi Varpuspaavi commented Jan 29, 2024

vue-i18n version 9 is not using same way of initializing the instance. This example is for ^8.0.0 for vue2
https://phrase.atlassian.net/browse/TSE-1415

@@ -17,7 +17,7 @@ function loadLocaleMessages (): LocaleMessages {
return messages
}

const vueI18n = new VueI18n({
const vueI18n = new VueI18n({ // vue-i18n >= 9.x.x doesn't support this way of instantiation, please use `createI18n` instead
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

v9.x.x is for Vue3, use at your own risk

@Varpuspaavi Varpuspaavi marked this pull request as ready for review January 29, 2024 12:07
@Varpuspaavi Varpuspaavi merged commit 961bf78 into master Jan 30, 2024
4 checks passed
@Varpuspaavi Varpuspaavi deleted the TSE-1415 branch January 30, 2024 12:16
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

Successfully merging this pull request may close these issues.

1 participant