4👍
✅
Assuming the image path you provided is correct, use the require
function instead.
products: [
{
id: 1,
title: "Google Pixel - Black",
price: 10,
company: "GOOGLE",
status : "TopSell",
img: require("../../bg.jpeg")
}
],
Source:stackexchange.com