본문 바로가기

반응형

React

(5)
리액트에서 빨간 밑줄 오류 표시 해결 방법 프로젝트 내의 eslint.config.js 파일을 열어 아래의 내용을 추가한다.'react/prop-types' : 'off',
리액트에서 부트스트랩 사용하기 1. 아래의 사이트에 들어간다.https://getbootstrap.com/docs/5.3/getting-started/download/ DownloadDownload Bootstrap to get the compiled CSS and JavaScript, source code, or include it with your favorite package managers like npm, RubyGems, and more.getbootstrap.com  2. 아래의 내용을 복사한다.  3. 복사한 내용을 index.html의 header 태그 안에 붙여넣기 한다. 끝!   1. 인텔리제이에 들어가서 하단에 터미널을 열고 Command Prompt를 선택한다.  2. 아래 두 개의 명령어를 입력한다.npm-i..
인텔리제이에서 리액트 구성편집 1. 구성 편집 클릭   2. 플러스 버튼 눌러서 npm 선택  3. 해당 내용 입력 및 선택
react-app, vite 생성하기 cd C:\fullstack405\react npx create-react-app test1 cd test1 npm start   npx create-vite test2 cd test2 npm install npm run dev ------------------------------
Node.js와 npm 설치하기 1. 아래의 사이트에 접속한다. https://github.com/coreybutler/nvm-windows?tab=readme-ov-file GitHub - coreybutler/nvm-windows: A node.js version management utility for Windows. Ironically written in Go.A node.js version management utility for Windows. Ironically written in Go. - coreybutler/nvm-windowsgithub.com 2. 하단의 Download Now 클릭 3. 하단의 nvm-setup.exe를 눌러 설치한다. 4. 설치된 파일을 실행하여 모두 기본값으로 설치를 진행한다. 5. cmd창에..

반응형