Skip to content

support i18n in ComponentOptions #290

@chesnelg

Description

@chesnelg

It is currently not possible to declare i18n messages at component level.
In plain javascript syntax, this is achieved using the i18n.messages field - as described https://kazupon.github.io/vue-i18n/guide/component.html#translation-in-functional-component.

It would be great to be able to pass i18n field to the ComponentOptions interface definition to allow the following:
@Component( { i18n: { messages { ... } } )
The functionality is already in place, but the current type definition doesn't allow it.

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