Skip to content

Variable: I18nInjectionKey

Injection key for useI18n

Signature

ts
export const I18nInjectionKey: InjectionKey<I18n> | string

Tags

  • @remarks — The global injection key for I18n instances with useI18n. this injection key is used in Web Components. Specify the i18n instance created by createI18n together with provide function.
  • @VueI18nGeneral

Released under the MIT License.