My problem lies in the following:
When I try to bind the src attribute of the img tag and try it in the browser it does not load the image as it should
<script>
export default {
data () {
return {
items: [
{
src: 'static/img/slide/slider-01.jpg'
},
{
src: 'static/img/slide/slider-02.jpg'
},
{
src: 'static/img/slide/slider-03.jpg'
}
]
}
}
}
</script>
<template>
<div>
<v-carousel delimiter-icon="stop">
<v-carousel-item v-for="(item,i) in items" v-bind:src="'~/static/img/slide/' + item.src" :key="i">
<img :src=item.src alt="">
</v-carousel-item>
</v-carousel>
</div>
</template>
the browser what I get is this:
<img src="static/img/slide/slider-01.jpg" alt="">
unlike other images that I place without needing a v-for or bindeo, of these last I receive something like this:
<img src="/_nuxt/img/cp-white.39b6f30.png" alt="cp-white.png">
If someone helped me, I would really appreciate it.