react

💡 모아모아 지식

[ REACT / SPRING BOOT ] React 와 Spring Boot 연동하기

1. Spring Boot 생성 https://start.spring.io/ 에서 설정하여 생성된 프로젝트를 import 해준다. 빌드가 완료된 후에, 프로젝트를 Run시키면 포트 8080에서 톰캣이 시작되었다는 콘솔 메세지가 뜹니다. http://localhost:8080 에 들어가게 되면, 에러 페이지가 보입니다! 2. React.js 설치 프로젝트 내의 터미널을 키고 코드를 실행해줍니다. cd src/main npx create-react-app kongfront# npx create-react {프로젝트명} 💢 단, 프로젝트명에 대문자가 포함되면 안됩니다 설치가 완료되면, 위와 같이 Spring Boot 프로젝트 내에 React 폴더가 생성됩니다. 해당 폴더 내에 들어가서 npm start 로 프..

📍 에러에러

[ REACT ] You are running `create-react-app` 5.0.0, which is behind the latest release (5.0.1).

실행코드 리액트 기본세팅 코드 쳤는데 오류 뜸 ㄷ npx create-react-app kongfront 에러코드 You are running `create-react-app` 5.0.0, which is behind the latest release (5.0.1). We no longer support global installation of Create React App. Please remove any global installs with one of the following commands: - npm uninstall -g create-react-app - yarn global remove create-react-app The latest instructions for creating a new..

슈콩
'react' 태그의 글 목록