<li v-for="(item, key) in typeahead.items" :class="'typeahead-list__item ' + activeClass(key)" @mousemove="setActive(key)" @mousedown="hit" v-bind:key="key" v-bind:data-val="item.id">
<div class="typeahead_body">{{ replace(item.city) }}</div>
</li>
replace: function (str) {
return '<strong>Строка</strong>'
}
<li v-for="(item, key) in typeahead.items" :class="'typeahead-list__item ' + activeClass(key)" @mousemove="setActive(key)" @mousedown="hit" v-bind:key="key" v-bind:data-val="item.id">
<div class="typeahead_body">{{ item.city | replace }}</div>
</li>
Vue.filter('replace', function (value) {
// value - это item.city
return '<strong>' + value + '</strong>'
})