-
코드이그나이터 && REACT 서버 세팅React 2020. 4. 23. 15:17
Node.js 를 활용하지않고 코드이그나이터와 React를 연결하기 위해서는
React-PHP-V8Js 를 활용하도록 한다.
참고1 : https://subicura.com/2016/06/20/server-side-rendering-with-react.html
참고2 : https://blog.kesuskim.com/archives/spl-php-vue-ssr/
(라라벨)
참고자료
https://www.cikorea.net/bbs/view/file?idx=16483&page=1&view_category=&lists_style=
-ubuntu nodejs 설치
https://trustyoo86.github.io/nodejs/2019/02/18/ubuntu-nvm.html
-v8js 설치
https://gist.github.com/koriym/cef916b3a9de5e9fea766f19ae17c1ad
https://readthedocs.org/projects/php-v8/downloads/pdf/latest/ci3 & reactjs 입니다.
ci3 에 reactjs 사용한 샘플 소스 입니다. 게시판 리스트를 화면에 뿌리는 수준의 소스입니다. 처음 하시는 분들에게 도움이 되길 바라는 마음에 올려 봅니다. 설치방법 첨부된 파일을 압축 풀고 document_root로 설정하세요. v8js
www.cikorea.net
- Module build failed: Error: Couldn't find preset "es2015" relative to directory
이 에러가 뜨면
npm install babel-preset-es2015
'React' 카테고리의 다른 글
React Drag and Drop 기능 (0) 2020.07.27