Skip to content

Commit

Permalink
글 정리 중
Browse files Browse the repository at this point in the history
  • Loading branch information
mnetkm9413 committed Jan 3, 2025
1 parent 8e9a7e2 commit bf15455
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions _posts/Frontend/React/2025-01-03-customTag1234.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
---
title: "커스텀 태그"
excerpt: "커스텀 태그 사용법에 대해 알알보자"
title: "이미지 저장소는 public/ VS assets/"
excerpt: "이건 어디에 적어지는거지"

categories:
- React
tags:
- [myTag]

toc: true
toc_sticky: true
Expand All @@ -14,8 +13,8 @@ date: 2025-01-03
last_modified_at: 2025-01-03
---

public/ 폴더
이전 강의에서 보았듯이, 이미지를 `public/` 폴더에 저장하고 `index.html` 또는 `index.css` 파일 내에서 **직접 참조** 할 수 있습니다.
public/ 폴더
이미지를 `public/` 폴더에 저장하고 `index.html` 또는 `index.css` 파일 내에서 **직접 참조** 할 수 있습니다.

이렇게 하는 이유는 `public/`에 저장된 이미지 (또는 일반적으로: 파일)이 프로젝트 개발 서버 및 빌드 프로세스에 의해 **공개적으로 제공**되기 때문입니다. `index.html`과 마찬가지로, 이 파일들은 브라우저 내에서 직접 방문할 수 있으며, 따라서 다른 파일에 의해 요청될 수도 있습니다.

Expand Down

0 comments on commit bf15455

Please sign in to comment.