I tried the code below to display an image in my Vue.js and Onsen UI App, but unfortunately the images are not appearing.
<div class="footer_logo">
<ul>
<li class=""><img :src="logo" alt="logo" /></li>
</ul>
</div>
The code I used to import the image in the script is shown below:
import foot1 from 'static/assets/img/footerlogos/1.svg';
export default {
data() {
logo: foot1;
}
Edit
Here is a snapshot of the project structure: