1. nodejs 설치
Node.js — Run JavaScript Everywhere
Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.
nodejs.org
LTS 버전 다운로드 및 설치 완료
후 에디터 터미널에서 'node' 설치완료 및 버전 확인
2. vscode 에디터 설치
https://code.visualstudio.com/
Visual Studio Code - Code Editing. Redefined
Visual Studio Code is a code editor redefined and optimized for building and debugging modern web and cloud applications. Visual Studio Code is free and available on your favorite platform - Linux, macOS, and Windows.
code.visualstudio.com
3. yarn 설치
https://classic.yarnpkg.com/lang/en/docs/install/#windows-stable
vscode extension에서 yarn 검색 다운
npm install -g yarn
yarn -version
yarn create react-app *** --template typescript
+yarn : 이 시스템에서 스크립트를 실행할 수 없으므로
*
4. CRA(create-react-app)
yarn create react-app **-template typescript
cd **
3. 바탕화면에 작업용 폴더 만들고
shift + 우클릭
powershell/터미널 열기
npx create-react-app 프로젝트명
'컴퓨터 관련 > 리액트' 카테고리의 다른 글
React-The library for web and native user interfaces (0) | 2024.08.06 |
---|---|
웹팩/바벨 (0) | 2024.08.01 |
Critical Rendering Path(CRP) (0) | 2024.08.01 |
JSX (0) | 2024.07.16 |
React(라이브러리) (0) | 2024.07.12 |