Skip to content

Type definition of lazy loading with dynamic import to messages options #182

Open
@kazupon

Description

@kazupon

createI18n

const i18n = createI18n({
  messages: {
    en: import('/path/to/en.json').default
  }
}

useI18n

const i18n = useI18n({
  messages: {
    en: import('/path/to/en.json').default
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions