코드가 넘나 길어진다면 import / export 사용해보기 강의에서
강사님 코드와 똑같이 했는데 노란줄이 img src 부분과
img elements must have an alt prop, either with meaningful text, or an empty string for decorative images.eslintjsx-a11y/alt-text
data.js 파일에서 모든 부분에 노란줄 이 있고
(property) default: {
id: number;
title: string;
content: string;
price: number;
}[]
Assign array to a variable before exporting as module defaulteslintimport/no-anonymous-default-export
그리고 마지막으로
데이터 바인디 할때
{ shoes[0].title } 이렇게 할때 나오지 않고 빈칸으로 나오는데 어떻게 해야하나요?
구글 검색해도 잘모르겠어요,,ㅜㅜ