I have a challenge where I am attempting to dynamically pass the path of the require function within an app built with Ionic+Vue.
My goal is to read various paths from a JSON and have the function load different images based on these paths using the require function in the image source.
<img :src="require(image)">
When I input the path as a string, everything works smoothly. However, I require this path to be changeable, meaning it needs to be stored as a variable.