개발세발

[TIL] 220508 본문

코딩공부/TIL

[TIL] 220508

뉼👩🏻‍💻 2022. 5. 8. 19:25
728x90
반응형
SMALL
react설치 

 

npx create-react-app . 

 

REACT 

index.js에 전역적인 설정이 들어감

app.js 에서 내용 편집 

 

터미널에서 기존에 켜져있는 개발환경을 끄고 싶은 경우 

ctrl + c 

 

react 배포

1. 터미널에서 npm ruc build 

2. build 폴더의 index.html 

3. npx serve -s build 

 

리액트는
사용자 정의 태그를 만드는 기술이다  



REACT 설치 오류

https://velog.io/@milkyway/React-%EC%98%A4%EB%A5%98-%ED%95%B4%EA%B2%B0-You-are-running-create-react-app-4.0.2-which-is-behind-the-latest-release-4.0.3

 

React 오류 해결 You are running `create-react-app` 4.0.2, which is behind the latest release (4.0.3).

npx create-react-app 실행 오류 해결법

velog.io

 

다시 설치하다가 오류 

728x90
반응형

'코딩공부 > TIL' 카테고리의 다른 글

[TIL] 220512  (0) 2022.05.12
[TIL] 220511  (0) 2022.05.11
[TIL] 220503  (0) 2022.05.04
[TIL] 220502  (0) 2022.05.03
[TIL] 220429  (0) 2022.04.29