ILocaleI18n
interface
Internationalisation
Pair of the raw vue-i18n I18n instance and its useI18n composable — injected by createLocale() and consumed by the locale adapter.
TypeScript
Definition
The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.
API
Properties
Every property declared by this interface, with its type, optionality and default.
- i18nrequiredIVueI18nLike
- The raw vue-i18n I18n instance created by createI18n().
- useI18nrequiredTUseI18nLike
- The useI18n composable from vue-i18n, forwarded so adapters can call it without re-importing.
Ecosystem
Used by
Components and composables that extend or consume this interface.
Usage
Examples
Ready-to-paste code snippets using this interface.
Providing a vue-i18n adapter to Origam