본문 바로가기

Category

(328)
[solved]css nested with flex not work when build code 1. module.css 쓰는중 2. scss 아님. 3. 3중 Nested 에서 적용 안되는 현상 발견 4. dev 모드에서는 잘 나오는데build 시에만 안됨 5. Flex만 안되고 다른 코드들은 다 적용이 됨 결론: 빌드시 최적화할 때, 내가 오해여지를 남겨놔서 링커가 이상하게 최적화를 해버렸다. 보자. 원인: css Nested 된다고해서 스타일 코드 깔끔히 하려고 무지성 nested안하다가 빌드할때 이상한 css 최적화에 스타일 코드 날라감 해결방법: DOM 구조 따라가는 nested 하면 됨.
li tag 사이에 선 있는거 https://stackoverflow.com/questions/42810537/pseudo-line-between-list-elements Pseudo line between list elements? JS Fiddle I'm trying to create a layout like: One -- Two -- Three The layout has pseudo lines between each of the list elements. One Two ... stackoverflow.com 부모 relative 이유가 기억이 안난다... after는 예상했는데
커밋 로그 걍 대충쓴것들 하나로 합칠때 https://korband.tistory.com/33 [#git] 여러 커밋(commit) 하나로 합치기 의식의 흐름(?)으로 개발을 하다보면 똑같은 커밋 메세지 또는 대충 쓴 커밋 메세지로 푸시하는 경우가 많다. 이런 경우 커밋 메세지를 하나로 합치거나 수정할 수 있으니 정신이 맑은 날에 한번 korband.tistory.com
next 14 버전에서 aos 추가하기 https://stackoverflow.com/questions/75379440/the-aosanimation-on-scroll-is-not-working-in-next-13 The AOS(Animation on scroll) is not working in next 13 I Use next 13 , I wanna add AOS library in my app and us it , I installed it , and added it properly to my component, but my component doesn't show and also I don't get any error.here is my Home Page stackoverflow.com Client compoenent 만들고 나는 최상..
next.js 에서 <head> 랑 metadata 구성하기 https://nextjs.org/docs/app/building-your-application/optimizing/metadata Optimizing: Metadata | Next.js Use the Metadata API to define metadata in any layout or page. nextjs.org 나는 next 14 버전 사용하고 있는데 , 위 링크를 참조하기 바람
li or a tag doesn't working flex 배포하면 flex가 사라지고, user-agent style이 우선적으로 적용되는 상황을 몇번 마주했다. 안에 li 또는 a 태그 일때 이런 현상이 있었던 것 같고, 분명 내가 쓴 문법이 문제가 있는 것 같다. 근데 로컬에서는 임의로 잡아준거고, 배포하니깐 깨졌다. 근데 이해하고 분석해서 해결해야하는데 그냥 !import 때려서 해결했다. 언젠간 기회되면 분석을 해보든가 다시 마주치거나, 해결되면 이 포스트로 돌아와야겠다.
함수하나에서 setState 해도 상태가 안바뀌는 경우 hello false setState hello false 상태를 변경해도 감지가 안되고 여전히 false 이게 된다. 원래 그렇다. useEffect에서 상태 감지해서 해결해야한다.
Vercel domain 연결 가비아로 도메인 구입하고 DNS에 a 레코드 @로 연결하고 www 치고도 들어올 수 있게 c name 도 설정해준다. 1분도 안걸려서 ***.com 도메인을 프로덕트에 바로 연결했다.