HeaderLink에서 밑줄 표현할때 calc(100%+20px) 을 썼다. 이렇게 하면 text의 크기에 따라서 밑줄의 크기가 변하므로 매우 스마트하게 스타일링을 할 수 있다.tailwind에서는 custom class기능을 제공한다. global.css에서 @lay
TypeError: Converting circular structure to JSON starting at object with constructor clientrequestgetStaticProps에서 return 값이 circular structure일때 나타나는
type을 types라는 폴더에 모아두고 tsconfig.json에 alias를 @types라고 하였다. 그러니 아래와 같은 에러가 생겼다.path alias를 @types 라고 해서 생겨난 오류이다. 이렇게 이름을 지으면 타입 라이브러리처럼 사용한다는 이야기이다. 그
아래 그림처럼 vscode 하단에 language를 클릭하고 css로 바꿨다가 다시 이전것으로 바꿔보자.
....has either width or height modified, but not the other. If you use CSS to change the size of your image, also include the styles 'width: "auto"' o
DayPicker를 사용하던 도중 button이 div안에 들어갈 수 없다고 계속 경고 문구가 떴다.hydration과정에서 서버와 클라이언트 사이에 랜더링되는 최종 dom tree가 달라서 생기는 문제. 이럴때는 서버에서 아예 랜더링하지 않게 하는 법이 있다.