프로젝트 폴더 구조 #61
un0211
announced in
Announcements
Replies: 1 comment
-
|
지윤님이 작성해주신 폴더구조 정리를 옮겨왔습니다!
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
public/이미지, 아이콘, 폰트와 같은 정적 파일들 & favicon 등
src/소스 코드들.
components/전역적으로 쓰이는 공용 컴포넌트들
Button/: 버튼 관련 컴포넌트 모음. index파일로 한 번에 export해서 간편히 쓸 수 있음.constants/전역적으로 공통으로 쓰이는 상수 값
containers/특정 페이지와 관련된 tsx, css, state, hooks 등을 담은 컨테이너 모음들.
예) containers/auth/ 에는 auth 페이지와 관련된 것들만 있음
contexts/컨텍스트 모음
hooks/커스텀 훅 모음
layouts/레이아웃 컴포넌트들
pages/페이지 라우트 컴포넌트들
services/API 호출 로직 모음
styles/글로벌 스타일 및 Tailwind CSS 설정
types/인터페이스, 타입 등 타입스크립트 정의 파일 모음
utils/자주 사용되는 유틸리티 함수 모음
예) 날짜 포맷팅, 데이터 변환, 문자열 처리 등
[참고]
Beta Was this translation helpful? Give feedback.
All reactions