Type Alias: MessageCompilerContext
The context that will pass the message compiler.
Signature
ts
export type MessageCompilerContext = Pick<CompileOptions, 'onError' | 'onCacheKey'> & { warnHtmlMessage?: boolean; key: string; locale: Locale }Properties
| Name | Type | Description |
|---|---|---|
key | string | The resolved locale message key |
locale | Locale | The locale |
warnHtmlMessage (optional) | boolean | Whether to allow the use locale messages of HTML formatting. |
Tags
@VueI18nGeneral