54 lines
1.6 KiB
Plaintext
54 lines
1.6 KiB
Plaintext
-- 2023-08-07 --
|
|
npm i react-bootstrap bootstrap@4.6.0
|
|
npm i react-query
|
|
npm i react-router-dom
|
|
npm i axios
|
|
npm i recoil
|
|
npm i recoil-persist
|
|
npm i qrcode.react
|
|
npm i react-tooltip
|
|
npm i primereact
|
|
npm install @mui/material @emotion/react @emotion/styled --force
|
|
npm install react-bootstrap-date-picker
|
|
npm i --save-dev @types/react-datepicker
|
|
npm i suneditor-react
|
|
npm install @tanstack/react-query --force
|
|
npm install @tanstack/react-query-devtools --force
|
|
|
|
ProjectMain -> Setup으로 변경
|
|
GenericSetting -> ProjectCommon으로 변경
|
|
ParameterSetting -> ProjectParameter으로 변경
|
|
ResponseSetting -> ProjectResponse으로 변경
|
|
SubHeader -> MainToolBar으로 변경
|
|
SubNav -> LeftNav으로 변경
|
|
|
|
Footer, Header, LeftNav, MainToolBar /views/includes로 이동
|
|
Login, MainPage, Setup /views/main로 이동
|
|
ProjectCommon, ProjectParameter, ProjectResponse /views/sub로 이동
|
|
|
|
input+label에서 width:auto -> width:100%
|
|
|
|
npm i filepond-plugin-image-preview filepond-plugin-image-exif-orientation --save
|
|
|
|
npm install react-dnd react-dnd-html5-backend
|
|
|
|
npm install react-player
|
|
npm install filepond-plugin-file-validate-type
|
|
npm install xlsx
|
|
npm install exceljs file-saver
|
|
|
|
2023-12-27 서성완 react-app-alias 적용
|
|
craco는 사용 종료여서 react-app-alias를 사용
|
|
설치 npm
|
|
npm install --save-dev react-app-alias craco --force
|
|
|
|
package.json가서 Scripts 부분 수정
|
|
"scripts": {
|
|
"start": "set PORT=3008 && craco start",
|
|
"build": "craco build",
|
|
"test": "craco test",
|
|
"eject": "react-scripts eject"
|
|
},
|
|
|
|
tsconfig.paths.json가서 필요할때마다 경로추가해서 사용하면됨
|
|
기본경로는 ./src로 설정 |