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