As per the documentation and #18, I tried:
message: {
hello: 'hello <br> world'
}
<p>{{{ $t('message.hello') }}}</p>
But this gives me : template syntax error - invalid expression: {{{ $t('message.hello') }}}
Vue 2.0 is more picky on what is between the '{{{...}}}' then 1.0... or am I overlooking something ? Would v-html="rawHtml" help?
What is the alternative?
Ok.. .got it ... this works :
<div v-html="$t('home.header.title')"></div>
http://vuejs.org/guide/migration.html#HTML-Interpolation-deprecated
Most helpful comment
Ok.. .got it ... this works :