Vue I18n message format compile options.
compilation
object
{ jit: true, strictMessage: true, escapeHtml: false }
Configure flags that sets the behavior compilation of locale messages.
Supported properties:
jit
boolean
true
Whether to use the JIT compilation of Vue I18n message compiler.
strictMessage
boolean
true
Strictly check that the locale message does not contain HTML tags. If HTML tags are included, an error is thrown.
escapeHtml
option to true
.escapeHtml
boolean
false
Determine whether to escape HTML tags if they are included in the locale message.
strictMessage
is disabled by setting it to false
, we recommend enabling this option.