I have a line of jQuery code:
$("#showNames").text("{{ $t('hide_labels') }}");
I'd like to set text of the #showNames
element with the value taken from my vue-i18n
instance, dependent on user localization. When it's written this way, I get the literal moustache syntax contents. Is there any way to get the values displayed?