i want to make same shortcut
JSeasy opened this issue · 0 comments
JSeasy commented
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}}
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
- Read the Contributing Guidelines
- Read the Documentation
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.