0👍
You can set the whole source with vue:
<img v-bind:src="'https://example.io/us/flat/' + index.slice(0,2) + '.png'" />
or shorter
<img :src="'https://example.io/us/flat/' + index.slice(0,2) + '.png'" />
- [Vuejs]-Phanto .application style in Vuetify Vue CLI3 project
- [Vuejs]-Multiple V-model Javascript Vue Js
Source:stackexchange.com