Transform items not working in vue-instantsearch when <template> is used


Please check this code:
Note that the transformItems function does not alter the output, the “name” attributes are not transformed.

Could you tell me what is wrong here?

Many thanks,

I just found it: when using ais-highlight, the _highlightResult property should be used for attribute transformations.

Source: ais-hits | Vue InstantSearch | Algolia