전체 글
-
Cannot read property 'slice' of undefined - paths.servedPath.slice 오류 해결(feat. 리액트를 다루는 기술 개정판 p.548, 552)Development/React 2020. 5. 4. 12:16
p.546~p.551까지 열심히 막일을 거쳐서 웹팩 서버 사이드 렌더링 설정 관련 소스를 작성하였는데 에러 발생 paths.servedPath에 대하여 slice 함수를 사용할 수 없는 것으로 보아 servedPath가 문제가 있다고 생각. 그리하여 paths.js를 확인해보니 servedPath는 어디갔는지 없다. 책 p.547을 보면 publicUrl과 servedPath가 있는데 20.05.04일 기준으로 CRA로 생성한 프로젝트엔 저 2가지가 없고 그 대체자로 보이는 publicUrlOrPath란 놈이 있다. 왠지 이 녀석일 것 같아서 아래와 같이 수정 후 다시 빌드. webpack.config.server.js 수정 build.server.js 빌드 결과 제대로 고친 것? 일단 고쳐보니 잘 되긴..
-
[IntelliJ] 프로젝트 생성하기개발환경 2020. 5. 2. 09:39
이번에는 지난번에 설치한 인텔리제이를 실행 시켜서 프로젝트를 생성해 보도록 하겠습니다. 인텔리제이를 실행시키면 위와 같은 화면이 나오는데 인텔리제이의 환경 설정을 불러올 수가 있습니다. 저희는 처음 시작하니까 Do not import settings 를 클릭해 줍니다. 다음은 인텔리제이의 테마를 설정할 수가 있습니다. 저는 당연히 다큘라 테마를 선택했습니다...^^ 개인 취향 차이겠지만 과연 라이트 테마를 좋아하는 개발자가 있을지.... 다음은 플러그인 선택 화면입니다. 사용하고 싶지 않은 플러그인이 있다면 비활성화 시키시면 됩니다. 기본 플러그인 외에 추가로 제공하는 선택 플러그인들도 사용하고 싶은게 있으면 Install 하여 사용할 수 있습니다. 새로운 프로젝트를 생성할 것이기 때문에 Create N..
-
sass-loader 설정 커스터마이징 하기 에러수정(feat. 리액트를 다루는 기술 개정판 p.230~231)Development/React 2020. 4. 26. 16:06
CHAPTER 9. 컴포넌트 스타일링 - sass-loader 설정 커스터마이징 하기 책에 나와있는 데로 따라 하였는데 아래와 같이 에러를 뿜뿜한다. object를 보아하니 data가 아니라 prependData를 써야 할 것 같다. 적용해보고 실행! 어쨌든 includePaths도 없다는 말, 이럴 땐 오픈소스니까 깃허브를 찾아가자!( 는 개소리고 검색하다가 흘러들어 감 ) https://github.com/webpack-contrib/sass-loader webpack-contrib/sass-loader Compiles Sass to CSS. Contribute to webpack-contrib/sass-loader development by creating an account on GitHub. g..
-
[IntelliJ IDEA] 설치하기개발환경 2020. 4. 18. 16:11
지난번에 구매한 IntelliJ IDEA를 설치해 보도록 하겠습니다. 라이센스 구매 방법은 아래의 링크를 확인해 주세요! https://gamechangers.tistory.com/86 [IntelliJ IDEA] 상용버전 구매 IntelliJ는 JetBrains(젯브레인즈)라는 곳에서 개발한 통합 개발 환경입니다. 이클립스보다 여러 면에서 뛰어나다고 평가되고 있습니다. 이번에 새로운 프로젝트를 진행하면서 스프링을 이용해 개발을 해볼 생각이.. gamechangers.tistory.com https://www.jetbrains.com/ko-kr/idea/ 불러오는 중입니다... 우선 위의 사이트로 접속해서 다운로드를 선택합니다. 다운로드를 누르게 되면 위의 화면이 나오는데 Ultimate 라이센스를 구매..
-
디스커버리 버킷디워커 V2 에어 후기내돈주고 내가쓰는 리뷰/생활용품 2020. 4. 18. 14:09
https://www.discovery-expedition.com/goods/%EA%B3%B5%EC%9A%A9/%EC%8B%A0%EB%B0%9C/DXSHB2031-WH?dspCtgryNo=DXMA04A03¤tCtgryDpthCd=2&ctgrySectCd=STRTGY_CTGRY&ctgryNoDpth1=DXMA04&ctgryNoDpth2=DXMA04A03 버킷 디워커 V2 에어 버킷 디워커 V2 에어 www.discovery-expedition.com 결론 내 발 뒷꿈치 작살남 내돈 .... 아까워 .... 참고로 정사이즈 주문하였는데 사이즈는 딱 맞습니다.
-
생체 리듬의 중요성(feat. 숙면의 모든 것)소소한 일상/사탕공방 2020. 4. 5. 12:31
https://www.aladin.co.kr/shop/wproduct.aspx?ItemId=235763425 숙면의 모든 것 베스트셀러 《스탠퍼드식 최고의 수면법》의 저자, 스탠퍼드 대학교 니시노 세이지 교수가 알려주는 올바른 수면 상식과 습관. 잘못된 수면 상식을 바로잡으며 어떻게 해야 수면 부채를 줄이고 숙면하는 습관을 만들... www.aladin.co.kr 4가지 리듬 하루 주기 리듬( p.75) 1일, 대략 24시간 주기의 리듬 생물이 지구의 자전에 따른 환경 변화에 적응하기 위해 획득한 생리 시스템 하루 이내 리듬( p.75) 주기가 1분 이하인 심박, 호흡, 장의 연동 운동 주기가 수십 분에서 수 시간인 것, 비렘수면과 렘수면의 조합으로 구성되는 수면 주기 등 한 달 주기 리듬 달이 차고 지..
-
[택배음식] 택배홍어 리뷰내돈주고 내가쓰는 리뷰/기타 2020. 4. 4. 23:05
가끔 생각은 나는데 택배로 괞찬은 홍어가 있다해서 한번 시켜보았다 포장은 상당히 마음에 들었다 깔금하게 포장되어 오고 냄새도 밬으로 세지않아서 문앞에 놓여져있엇어도 전혀 다른곳에 피해를 주지 않았다 같이 시킨 이베리코 수육으로 나쁘진 않았지만 특별히 좋지도 않았다 같이 먹을 고기가 있다면 굳이 가치시킬 필요성은 느끼지 못할정도의 만족감이었다 반대로 따로 고리를 사기 귀찮다면 같이사도 나쁘진 않을정도였다 메인인 홍어이다 가격은 좋은 것 같다 12000원이고 혼자서 먹기 딱 적당한 양이었다 확실히 편의점꺼랑은 비교도 안되고 삭은향은 꾀강하게 나는데 쏘는 맛은 향보단 강하지 않았다 두께도 적당해서 씹는 맛도 있고 부위도 다양히 섞여있다 다양한 식감을 느낄수 있엇다 전체적으로 만족해서 재구매 의사도 충분히 있다..
-
잘못된 수면 상식과 수면 부채(feat. 숙면의 모든 것)소소한 일상/사탕공방 2020. 4. 4. 22:08
https://www.aladin.co.kr/shop/wproduct.aspx?ItemId=235763425 숙면의 모든 것 베스트셀러 《스탠퍼드식 최고의 수면법》의 저자, 스탠퍼드 대학교 니시노 세이지 교수가 알려주는 올바른 수면 상식과 습관. 잘못된 수면 상식을 바로잡으며 어떻게 해야 수면 부채를 줄이고 숙면하는 습관을 만들... www.aladin.co.kr 잘못된 수면 상식 90분 주기가 중요한 것이 아니라 자신의 수면 리듬이 중요한 것이다. 비렘수면이 시작될 때부터 렘수면이 끝나기 전까지를 '수면 주기'라고 한다. 80~120분 사이로 사람마다, 그리고 그날의 컨디션마다 달라질 수 있다. 잠을 적게 자는 것은 훈련으로 가능하지 않다. 나폴레옹이나 에디슨처럼 3~4시간밖에 자지 않고도 괜찮은 사람..