From bb430d8a24a8f2f2f6f472377d859899222168e6 Mon Sep 17 00:00:00 2001 From: pjkim Date: Tue, 25 Mar 2025 15:36:06 +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=802?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1e2421c..fb7e354 100644 --- a/README.md +++ b/README.md @@ -14,13 +14,13 @@ # '@name' 경로 축약 입력 -http://112.219.147.186:7000/pjkim/react_sample/attachments/b5d1c967-8050-4e44-bc23-9be3150cc2c8 +![example](http://112.219.147.186:7000/pjkim/react_sample/attachments/b5d1c967-8050-4e44-bc23-9be3150cc2c8) - resolve -> alias에 샘플과 같이 경로를 입력하여 명명 # .env 파일을 이용한 config value 활용 -http://112.219.147.186:7000/pjkim/react_sample/attachments/744b62d7-412d-484b-af1d-c294ea5a4975 +![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