[React] 개발 툴 설치 (Create React App, Vite)
·
React
Create React App: React 팀에서 제공하는 공식 툴로, React 프로젝트를 생성하는 가장 기본적인 방법 설치1. Node.js 설치   1-1.버전확인node -vnpm -v   1-2. 안깔려있다면 설치https://nodejs.org/en/ Node.js — Run JavaScript EverywhereNode.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.nodejs.org 2. CRA 설치 및 프로젝트 생성터미널에서 다음 명령어 실행npx create-react-app [프로젝트명] or npm create react-app [프로젝트명]code [경로]* npx: 최신 CRA 템플릿을 바로 다운로드 및 실..
[React] 개요
·
React
React: 사용자 인터페이스(UI)를 구축하기 위한 자바스크립트 라이브러리 -공식사이트https://ko.react.dev/ ReactReact is the library for web and native user interfaces. Build user interfaces out of individual pieces called components written in JavaScript. React is designed to let you seamlessly combine components written by independent people, teams, and organizatiko.react.dev 왜써야하나? 주요 특징 1. 컴포넌트 기반 유연성UI를 독립적인 재사용 가능한 컴포넌트로 나누..