프론트와 백앤드 완전히 분리하기위함이다.
지워라.
index.html이렇게 하기. 깔끔하게.
필요없는것들은 삭제하기
App.js->App.jsx로 리액트로 고쳐준다.
index.js도 정리해준다.
yarn패키지 매니저로
1. bootstrap
2.react-bootstrap
3.react-router-dom
4.font awesome
5.axios
6.firebase
7. quill
8.styled-components
9.reducts
node.js기반에서는 fetch보다 axios를 더 추천한다고...
git ignore에 .env는 키들어있는 파일이므로 무시시켜준다.
Next.js by Vercel - The React Framework
Production grade React applications that scale. The world’s leading companies use Next.js by Vercel to build static and dynamic websites and web applications.
nextjs.org
요즘 next.js를 우대하는곳도 있다고 한다.
next.js설치해준다.
'내생각들 > 개념정리' 카테고리의 다른 글
Spring 자동으로 refresh되게 하는법 (0) | 2023.03.17 |
---|---|
Spring Boot - Mybatis연결하기(Hikaricp) (0) | 2023.03.17 |
React와 Servlet연동하기-yarn사용 (0) | 2023.03.15 |
Spring 프로젝트에서 Tomcat dependency 추가하기 (0) | 2023.03.14 |
Gson dependency 추가하기 (0) | 2023.03.14 |
댓글