I wish to dynamically render a v-vor image with v-for image src using v-bind:src. Although the images directory seems to be correct (but how do I check that?) and the other array keys are displayed, I don't see the icons in the template.
structure: src - assets // 图像内部 -components // 组件内部data() { return { benefits: [ { icon: '../assets/benefits-icon.svg', //不显示 alt: 'benefits', //正常显示 title: 'plain text', //正常显示 content: 'plain text' //正常显示 }, ] } } {{benefit.content}}
Try to change this code