Q&A
강의환경과 똑같게 Tailwind 에서 다크모드 적용하는법
body { @apply bg-white text-black; } body.dark { @apply bg-gray-950 text-white; } body.dark .docs-story { @apply bg-gray-950 text-white; } index.css에 위와 같이 설정했떠니 잘됩니다. 맞는 설정일까요?
- Likes
- 0
- Comments
- 1
- Viewcount
- 44
Q&A
body { @apply bg-white text-black; } body.dark { @apply bg-gray-950 text-white; } body.dark .docs-story { @apply bg-gray-950 text-white; } index.css에 위와 같이 설정했떠니 잘됩니다. 맞는 설정일까요?
Q&A
강사님 그렇다면 POST UPLOADING 같이 상태관리가 필요없는 경우에는 reducer작성 없이 saga만 작성해도 괜찮은건가요?
Q&A
style-loader 버전 명시문제였던거 같습니다! 현재시점에서 버전명시없이 설치하면 2.0.0 버전이 설치되는데, 특정 버전 설치하게끔 강의를 수정해주셔야 할거같아요. yarn add style-loader@1.2.1 버전 설치했더니 정상적으로 CSS가 동작했어요
Q&A
이벤트 리스너의 3번째 인자값을 콜백 형태로 받아야 하기 때문입니다. 아래 링크를 참조해주시면 될 것 같습니다. https://navermaps.github.io/maps.js/docs/tutorial-UI-Event.html