Relative Content

Tag Archive for vuejs3vite

forEach method doesn’t work inside another method

backdrop() { store.movieList.forEach(element => { return element.backdrop_path; }); }, backdropImageUrl() { let imageSrc = store.imgURL + this.backdrop(); return imageSrc; } I’m trying to add the path of an image that is inside an array in an api to a link which will be placed inside the src of an img, but, when I put backdrop() […]