시작하기 – React
A JavaScript library for building user interfaces
ko.legacy.reactjs.org
새로운 React 앱 만들기 – React
A JavaScript library for building user interfaces
ko.legacy.reactjs.org
툴 체인 중 create react app
create react app의 git
GitHub - facebook/create-react-app: Set up a modern web app by running one command.
Set up a modern web app by running one command. Contribute to facebook/create-react-app development by creating an account on GitHub.
github.com
create react app의 주소
Create React App is deprecated.
Create React App is deprecated.
Create React App is deprecated. Please see react.dev for modern options.
create-react-app.dev
npx 사용을 위해선 node.js 설치해야함.
npx를 이용해서 create-react-app이라는 앱을 바로 사용할 수 있게 된다.
현재 디렉토리에 개발환경을 셋팅할 예정이므로,
C:\Users\LSK\Desktop\react-app>npx create-react-app . 명령어 실행.
<에러> 리액트 버전 에러.
You are running `create-react-app` 5.0.1, which is behind the latest release (5.1.0).
We recommend always using the latest version of create-react-app if possible.
<전역(global) 설치를 제거>
C:\Users\LSK\Desktop\react-app>npm uninstall -g create-react-app
C:\Users\LSK\Desktop\react-app>npx create-react-app . 명령어 실행.y
npm start 구동해주면 완료.
'Framework > react' 카테고리의 다른 글
[react css] Pretendard 폰트 적용하기 (0) | 2025.03.14 |
---|---|
react css 글씨체 두께 다르게 적용하기. 글씨체 두껍게 하기. (0) | 2025.03.14 |
[리액트 네이버 레이아웃 잡기] Target container is not a DOM element. at exports.createRoot 에러 해결 (0) | 2025.02.06 |
[react] 버튼 두번 누르면 1씩 증가하는 코드 만들기 Game4.js (0) | 2024.07.03 |
[리액트]클래스형 컴포넌트를 함수형 컴포넌트로 변환하기. (0) | 2024.06.20 |