본문 바로가기

Javascript139

브라우저의 고유한 guid 얻기 아래 링크에 잘 설명 되어 있다. https://andywalpole.me/blog/140739/using-javascript-create-guid-from-users-browser-information Using JavaScript to create a GUID from a user’s browser information There may be a time when you need to assign a unique identifier to a user to monitor their subsequent journey. Perhaps the user ... andywalpole.me 2019. 9. 25.
angular 한국어 가이드 페이지 최근 angular를 영문서로 실습하고 있었는데, 누군가 한국어 문서를 만들어 놓았다. 아래 링크를 참조하기 바란다. https://angular.kr/ Angular 가이드 Angular 가이드 angular.kr 2019. 6. 20.
nuxt 가이드북 좋은 nuxt 가이드북을 찾았다. 아래의 링크를 참조바란다. https://vue-nuxt.gitbook.io/nuxt/ Nuxt.js 란? Nuxt.js v2 소개 vue-nuxt.gitbook.io 2019. 6. 14.
nuxt에서 server side 변경시에 hot reloading이 적용이 안 될때 nuxt 템플릿을 받고 실행시키면 개발과정에 있어서 api 코드를 변경했는데도 결과가 반영이 안 될때가 있다. 그럴때는 pakage.json 내의 파일을 손봐주면 되는데, 자세한 사항은 아래의 링크에 모두 나와있다. https://github.com/nuxt-community/express-template/issues/119 hot reloading not work · Issue #119 · nuxt-community/express-template rt, when I excute "npm install", and run dev, It's show But when I change some data, hot reloading not work github.com https://github.com/nuxt/nu.. 2019. 6. 13.
Failed to load gRPC binary module because it was not installed for the current system Expected directory? 가끔 nuxt에서 크게 건드린 것도 없는데 저러한 에러가 뜰 경우가 있는데, 그럴때는 아래의 명령어를 치면 다시 잘 돌아간다. npm rebuild 2019. 5. 30.
firebase를 이용한 auth 구현 아래의 링크에 자세히 설명되어 있다. https://cionman.tistory.com/54 Firebase Web 채팅앱 만들기 - Authentication을 이용한 유저 가입 및 로그인 구현하기 1) Authentication 콘솔 설정 Firebase Authentication을 사용하여 가입 및 로그인 처리를 해보겠습니다. Authentication 을 사용하기 위하여 Firebase Console화면으로 진입한 후 좌측 Authentication 메뉴에 들.. cionman.tistory.com 그리고 참고로 emailVerified라는 값이 있는데, 해당 값은 소셜로 로그인 했을때 자동으로 true로 채워지고, (소셜은 이미 이메일이 타당함을 인증 받은 상태이기에 true로 채워진다.) 이메.. 2019. 5. 20.
three.js에서 morphing을 위해서 갖추어야 할 것들 일단 예제로 하나의 box를 예로들어 설명하겠다. (직접 설계한 모델을 불러와 morphing 하는 것도 있지만 그건 방식이 좀 달랐다.) 먼저 아래와 같이 박스를 정의해 준다. (변수의 이름은 임의로 설정했다.) var geomCockpit = new THREE.BoxGeometry(60,50,70,1,1,1); var matCockpit = new THREE.MeshPhongMaterial({color:Colors.red, morphTargets: true}); 여기서 MeshPhongMaterial 함수는 재질을 나타내는 것인데 자세한 설명은 아래의 링크에 있다. https://justmakeyourself.tistory.com/entry/mesh-and-light [three.js] 오브젝트(me.. 2019. 5. 18.
js await 함수는? 아래 블로그에 await 함수에 대해 잘 설명되어 있다. https://developer.mozilla.org/ko/docs/Web/JavaScript/Reference/Operators/await await await 문은 async함수의 실행을 중단시키고, Promise가 fulfill되거나 reject되기를 기다리고, 다시 async함수를 실행시킵니다. 이때 await 문의 값은 Promise 에서 fulfill된 값이 됩니다. developer.mozilla.org 2019. 5. 3.
pm2를 이용하여 Node.js 서버를 더 쉽게 관리하기 아래의 블로그에 pm2 설정에 대해 자세히 설명 되어 있다. https://medium.com/harrythegreat/pm2-node-js-%EC%84%9C%EB%B2%84%EB%A5%BC-%EB%8D%94-%EC%89%BD%EA%B2%8C-%EA%B4%80%EB%A6%AC%ED%95%98%EA%B8%B0-2-d03f6396139f 2019. 4. 19.