The original code utilized an image in a menu as shown below:
<img
:alt="$t('more')"
class="mobile-plus-content visible-xs"
src="../../../assets/img/plus79.png"
/>
This results in:
src="data:image/png;base64,the image"
I made a modification to:
v-bind:src="mobileImage(id)"
And within my script:
methods: {
mobileImage(id) {
console.log('id:', id);
return logic ? plus : minus;
},
It logs the id, but I am unsure what to return. Where do I need to place the png file since Vue is no longer compiling it into static resources?