vue-i18n icon indicating copy to clipboard operation
vue-i18n copied to clipboard

Type definition of lazy loading with dynamic import to `messages` options

Open kazupon opened this issue 5 years ago • 0 comments
trafficstars

createI18n

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

useI18n

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

kazupon avatar Nov 04 '20 10:11 kazupon