intlify / intlify/nuxt3

__VUE_I18N__ is undefined in produciton mode

Open
#89 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
204
Forks
18
PR merge metrics
No merged PRs in 30d

Description

If I want access vueApp.__VUE_I18N__.global.t or vueApp.__VUE_I18N__.global.locale it works only when I run npm run dev. In production mode it gives "Cannot read properties of undefined (reading 'global')" error.

My dependencies:
"@intlify/nuxt3": "^0.2.3",
"nuxt": "3.0.0-rc.6",

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.