JSX
리액트 기초/개발환경 + JSX + Component2021. 7. 7. 07:49JSX

우선..아래 링크를 참고하여 리액트 프로젝트를 생성하자.https://duckgugong.tistory.com/172JSX ?리액트에서는 딱 하나의 빈껍데기인 html 파일만 존재한다. 어떤 뷰를 나타낼만한 태그들이 하나도 없다. public 폴더 아래에 있는 index.htmlindex.html tag. To begin the development, run `npm start` or `yarn start`. To create a production bundle, use `npm run build` or `yarn build`. --> src 폴더 안에 app.js 파일을 열면 function App()안의 리턴되는 요소들이 화면에 나타나는 것을 알..

React 개발환경 설정, 프로젝트 만들기
리액트 기초/개발환경 + JSX + Component2021. 7. 7. 00:41React 개발환경 설정, 프로젝트 만들기

VS CodeReact 코드 편집기로 사용할 개발환경https://code.visualstudio.com/downloadGithub Desktophttps://desktop.github.com/Github 회원가입https://github.com/joinGit bashVS Code 터미널로 사용https://git-scm.com/downloadsGit bash 설치 후 아래설명을 참고해서 진행VS Code 실행 후 왼쪽 상단 File -> Preference -> Settings 클릭.상단 검색창에 terminal 입력하단에 Terminal > External: Window Exec 이라 써 있는 부분에 bash.exe의 경로를 적어줌설치할 때 경로를 건들지 않았다면 C:\\Program Files\\G..

image