diff --git a/package.json b/package.json index 40cb877ed..9957a1a1a 100644 --- a/package.json +++ b/package.json @@ -68,7 +68,7 @@ }, "dependencies": { "@intlify/bundle-utils": "^3.4.0", - "@intlify/shared": "9.3.0-beta.7", + "@intlify/shared": "9.3.0-beta.10", "@intlify/unplugin-vue-i18n": "^0.8.0", "@nuxt/kit": "^3.0.0", "@vue/compiler-sfc": "^3.2.44", @@ -84,8 +84,8 @@ "pkg-types": "^1.0.1", "ufo": "^1.0.0", "unplugin": "^1.0.0", - "vue-i18n": "^9.3.0-beta.7", - "vue-i18n-routing": "^0.9.2" + "vue-i18n": "^9.3.0-beta.10", + "vue-i18n-routing": "^0.10.1" }, "devDependencies": { "@babel/parser": "^7.20.2", diff --git a/playground/pages/blog.vue b/playground/pages/blog.vue index 54647b918..9ab431315 100644 --- a/playground/pages/blog.vue +++ b/playground/pages/blog.vue @@ -9,9 +9,10 @@ defineI18nRoute({ } }) -const { t } = useI18n({ +const { t, locales, baseUrl } = useI18n({ useScope: 'local' }) +console.log('locales', locales, baseUrl)