You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i has a en.json, it just like {pageA:{a:1,b:1},pageB:{a:1,b:1}}
now i want to use $t in the pageA but it is very ugly becuse i must write $('pageA.a') every time
is there has same way to make the $t has a pageA scoped and i can use the $t('a')
Clear and concise description of the problem
i has a en.json, it just like {pageA:{a:1,b:1},pageB:{a:1,b:1}}$t in the pageA but it is very ugly becuse i must write $ ('pageA.a') every time
now i want to use
is there has same way to make the $t has a pageA scoped and i can use the $t('a')
Suggested solution
const $t = useI18n({
scoped:'pageA'
})
and i can use $t('a') in the template
Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: