Skip to content

Nuxt 3 Generate - The message format compilation is not supported in this build #80

@andyjamesn

Description

@andyjamesn

I am generating a static Nuxt 3 build but I am getting the following warning in my console

WARN [intlify] The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return 'message.header'.

I am using adding "@intlify/nuxt3" to nuxt modules with the intlify object and some messages.

I am rendering the translations as follows: {{ $t("mainLayout.header") }}

Any ideas what is causing this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions