I have mono repo which uses nuxt 3 for its apps, and in locale folder I import translations from common folder into the en.ts file.
// common/en.ts
export default {
test: 'xyz'
}
// locale/en.ts
import commonLocales from 'path-to-common-en-ts';
export default {
...commonLocales,
foo: 'bar',
}
// component.vue
{{ $t('foo') }} // works
{{ $t('test') }} // does not work
Why the imported ones cannot be found?