0👍
could you try something like this:
<img v-for="image in images" :src="GetImage(image)" alt="" />
then have a method:
getImage(image) {
let img = require('@/' + image)
return img
}
Source:stackexchange.com
0👍
could you try something like this:
<img v-for="image in images" :src="GetImage(image)" alt="" />
then have a method:
getImage(image) {
let img = require('@/' + image)
return img
}