728x90
반응형
로컬에서는 안나는데 vercel에 빌드할때 나는 에러
Error: `"` can be escaped with `"`, `“`, `"`, `”
.eslintrc.json 에 아래 코드를 삽입하면 된다.
"rules": {
"react/no-unescaped-entities": 0
},
"rules": {
"react/no-unescaped-entities": 0
},
전체 eslinttrc.json
{
"rules": {
"react/no-unescaped-entities": 0
},
"extends": "next/core-web-vitals"
}
반응형
'nextjs,tailwindcss,vercel' 카테고리의 다른 글
[인증] 세션, 쿠키,jwt, 토큰 정리 (nextjs getSession, jwt) (0) | 2024.07.15 |
---|---|
SEO 기본설정 : 메타태그와 구글서치콘솔, 네이버에 등록하기 (2) | 2024.07.12 |
[리액트, nextJS] state와 useSate 개념과 사용법 (0) | 2024.06.08 |
리액트 key props (0) | 2024.06.08 |
[ react , nextJS ] 리액트 컴포넌트 - props 와 children (0) | 2024.06.08 |