Index: peace/README.md =================================================================== diff -u -rcce11248a6e10b1ff4b20dfdff7b6581b2afc1ab -r8a7222e3ab08f9e6718274073dd3290dfe8f61db --- peace/README.md (.../README.md) (revision cce11248a6e10b1ff4b20dfdff7b6581b2afc1ab) +++ peace/README.md (.../README.md) (revision 8a7222e3ab08f9e6718274073dd3290dfe8f61db) @@ -1,8 +1,15 @@ -# React + Vite +npm 설치 +npm install -g yarn --force +yarn install +yarn run build <- 빌드 시 -This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules. +yarn build <- 빌드 시 +yarn run dev <- 개발 시 -Currently, two official plugins are available: +React 선행 과제 +1. http://a-rms.net/reference/lightblue4/docs/ 를 확인 +2. dashboard, tables, notifications 중 하나를 선택 +3. 선택한 화면을 React 로 구현. +4. 구현 대상 폴더는 좌측 프로젝트 폴더 중. peace 폴더 내 구현 -- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh -- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh +아직 React 는 자동 빌드를 지원하지 않습니다. Index: peace/package.json =================================================================== diff -u -rcce11248a6e10b1ff4b20dfdff7b6581b2afc1ab -r8a7222e3ab08f9e6718274073dd3290dfe8f61db --- peace/package.json (.../package.json) (revision cce11248a6e10b1ff4b20dfdff7b6581b2afc1ab) +++ peace/package.json (.../package.json) (revision 8a7222e3ab08f9e6718274073dd3290dfe8f61db) @@ -34,7 +34,8 @@ "react-transition-group": "^4.4.5", "recoil": "^0.7.7", "sass": "^1.77.6", - "uuid": "^10.0.0" + "uuid": "^10.0.0", + "yarn": "^1.22.22" }, "devDependencies": { "@faker-js/faker": "^8.4.1", Index: peace/src/App.jsx =================================================================== diff -u -rcce11248a6e10b1ff4b20dfdff7b6581b2afc1ab -r8a7222e3ab08f9e6718274073dd3290dfe8f61db --- peace/src/App.jsx (.../App.jsx) (revision cce11248a6e10b1ff4b20dfdff7b6581b2afc1ab) +++ peace/src/App.jsx (.../App.jsx) (revision 8a7222e3ab08f9e6718274073dd3290dfe8f61db) @@ -17,7 +17,7 @@ function App() { return ( - +