From 1848e20a898fd0a7c4ac8a91af931a132cb8a4bc Mon Sep 17 00:00:00 2001 From: pjkim Date: Tue, 25 Mar 2025 16:26:40 +0900 Subject: [PATCH] =?UTF-8?q?react=20=ED=99=9C=EC=9A=A9=20=EB=82=B4=EC=9A=A9?= =?UTF-8?q?=20=EC=B6=94=EA=B0=80=20-=20=EB=81=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e722323..be29d0c 100644 --- a/README.md +++ b/README.md @@ -23,15 +23,39 @@ - 복제 후 터미널에서 'yarn install'을 통해 설치 - 'yarn dev'를 입력하여 활성화 +
+ +--- + +
+ # '@name' 경로 축약 입력 ![example](http://112.219.147.186:7000/pjkim/react_sample/attachments/b5d1c967-8050-4e44-bc23-9be3150cc2c8) - resolve -> alias에 샘플과 같이 경로를 입력하여 명명 +
+ +--- + +
+ # .env 파일을 이용한 config value 활용 ![example](http://112.219.147.186:7000/pjkim/react_sample/attachments/744b62d7-412d-484b-af1d-c294ea5a4975) - 코드 내에서 아래와 같이 입력하여 .env의 항목을 사용한다 - -> console.log(`${import.meta.env.VITE_API_SERVER_IP}`) \ No newline at end of file + -> console.log(`${import.meta.env.VITE_API_SERVER_IP}`) + +
+ +--- + +
+ + + + + +