Skip to content

VueI18N is not installed on production server #1095

Open
@tanyongkuan

Description

@tanyongkuan

Reporting a bug?

I did a console.log on app after calling app.use(i18n) and the vuei18n attribute (VUE_I18N) is not in the application which I want to use to merge with my Quasar app extension's i18n.

image

image

I also did use the @intlify/unplugin-vue-i18n implementation (below) based on the solution but it still does not work

image

Expected behavior

This is the expected output which is from the development machine to show that i18n is installed on the application. It contains the global attribute where I can access the messages and do a merge.

image

Reproduction

System Info

I'm using the following for the development. I'm using apache for the server deployment

"quasar": "^2.6.0",
"vue": "^3.0.0",
"vue-i18n": "^9.0.0",
"@intlify/unplugin-vue-i18n": "^0.5.0",
"@quasar/app-webpack": "^3.0.0",

Screenshot

Additional context

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: PR WelcomeWelcome to Pull Requesthelp wantedExtra attention is needed🔨 p3-minor-bugPriority 3: a bug in an edge case that only affects very specific usage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions