-
홈페이지 링크 : 한국외대학술학회 PnP
-
Update Version 1.0
- 날짜 : 2022. 02. 23
- 내용 : Publish websites
- 작성자 : Seongil Heo
-
팀장 : 이지석
-
개발자 : 이지석, 김대원, 김시현, 김주원, 김태우
- 담당
- 이지석 : Leader / Project Manager / Blog Page
- 김시현 : Main page / Set Router for About, Achievements , Members, Recruit
- 김대원 : Member Page, Secretary Staff for Project
- 김주원 : FAQ Page / Set Router for Blog, FAQ / About Page
- 김태우 : Achievements Page
- 담당
- fork 확인
- PPEB-introduce 폴더를 본인의 계정에 fork 해두시고 수정을 해주세요.
- Page 실행
- git을 사용해서 다운로드를 진행합니다.
git clone https://github.com/hufs-pnp/hufs-pnp.github.io.git
- npm이나 yarn을 사용해서 필수 모듈들을 설치합니다.
npm install -D [email protected] ## or yarn add
npx tailwindcss init
yarn add [email protected] --save ## npm install react-router-dom --save
npm install [email protected] # yarn add
yarn add @craco/[email protected] ## npm install @craco/craco
yarn add gh-pages --save-dev ##또는 npm install gh-pages --save-dev
- npm이나 yarn을 사용해서 실행합니다.
yarn start ## or npm start
- 오류가 생길
- react-google-charts를 다운로드 받아주세요!
yarn add react-google-charts ## npm install react-google-charts
- react-ga 를 다운로드 받아주세요!
yarn add react-ga ## npm install react-ga
- 메인 페이지 업로드 공간
- src > components > 페이지이름 폴더
- 처음
- 본인의 페이지를 내용에 추가하면 됩니다.
- 페이지 업로드 공간
- src > pages > 페이지이름.js
- Header에 있는 탭을 클릭하거나, 더보기를 눌렀을 때 이동하는 페이지
- 본인의 페이지를 내용에 추가하면 됩니다.
- react-router-dom
- react-router-dom이 버전 6로 업데이트 되면서 버전6를 다운로드 받으면 그전 버전으로 되어있기 때문에 router관련한 오류가 발생합니다. 따라서 5.2 router버전을 다운로드 해주시기 바랍니다. version6로 라우터를 업데이트 해놓도록 하겠습니다.
- 링크 참고 :
https://velog.io/@soryeongk/ReactRouterDomV6
- 프로젝트를 git clone을 하실 때, 개인 계정에 fork한 뒤 다시 업로드를 하는 방식을 이용해주세요.
- 버전 업데이트 사항은 소수점 단위를 일씩 증가 시키고, 본인이 한 내용을 추가하여 어떤 내용이 업데이트 되었는지 확인할 수 있도록 해주세요
- 업데이트 내용을 수정하시기 전에 이전 버전 업데이트 내용은 아래에
Last Update
에Versiton X.X - 내용 Update by 작성자이름
순으로 정리해주세요.
- Version 0.1 PnP Web site (Main Page) was Updated by Sihyun Kim
- Version 0.2 PnP Web site router settings for pages Updated by Juwon Kim ( Made by Sihyun Kim & Juwon Kim)
- Version 0.3 PnP Web site FAQ Page was Uploaded by Juwon Kim
- Version 0.4 PnP Web site About Page was Uploaded and FAQ Page was Updated by Juwon Kim
- Version 0.5 PnP Web site About Page was Updated by Juwon Kim
- Version 0.6 PnP Web site Achievement Page was Uploaded by Taewoo Kim
- Version 0.7 PnP Web site Blog Page was Uploaded by Jiseok Lee
- Version 0.71 Fix unloaded images in Blog Page by Seongil Heo
- Version 0.8 Merge with taewoo's repo by Seongil Heo
- Version 0.9 Update Feed back by all developers
- Version 1.0 Website was Pulished by Seongil Heo
yarn을 사용하시는 분이시고, 관련 명령어가 익숙치 않은 부분을 아래 명령어를 참고해주시면 됩니다.
This project was bootstrapped with Create React App.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
Note: this is a one-way operation. Once you eject
, you can’t go back!
If you aren’t satisfied with the build tool and configuration choices, you can eject
at any time. This command will remove the single build dependency from your project.
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject
will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.
You don’t have to ever use eject
. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.
You can learn more in the Create React App documentation.
To learn React, check out the React documentation.
This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting
This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size
This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app
This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration
This section has moved here: https://facebook.github.io/create-react-app/docs/deployment
This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify