Skip to content

Commit f175984

Browse files
committed
docs: readme에 디렉토리 구조 설명
1 parent 1665376 commit f175984

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

README.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,43 @@
2727
- feat/[세부 기능] :: 특정 기능 개발 서브 브랜치 (바로 dev ㄴㄴ, 위에 꺼에 머지)
2828
- fix/#[이슈 번호]/[버그 이름] :: 특정 버그 수정 브랜치
2929

30+
### 디렉토리 구조
31+
32+
```
33+
src/
34+
├── App.tsx
35+
├── main.tsx
36+
├── index.css
37+
├── pages/
38+
│ ├── [페이지 이름 1]Page.tsx
39+
│ ├── [페이지 이름 2]Page.tsx
40+
│ └── index.ts
41+
├── common/
42+
│ ├── components/
43+
│ │ └── [여러 기능에서 공통적으로 사용되는 컴포넌트].tsx
44+
│ ├── hooks/
45+
│ │ └── [여러 기능에서 공통적으로 사용되는 훅].tsx
46+
│ └── utils/
47+
│ └── [여러 기능에서 공통적으로 사용되는 유틸 함수].tsx
48+
├── features/
49+
│ ├── [기능 이름 1]/
50+
│ │ ├── components/
51+
│ │ ├── hooks/
52+
│ │ └── utils/
53+
│ └── [기능 이름 2]/
54+
│ ├── components/
55+
│ └── hooks/
56+
├── libs/
57+
│ └── routes/
58+
│ ├── stack.ts
59+
│ └── stackConfig.ts
60+
└── assets/
61+
└── images/
62+
└── [이미지 파일].png
63+
└── icons/
64+
└── [아이콘 파일].png
65+
```
66+
3067
### 사용 스택
3168

3269
- Vite + React + TypeScript

0 commit comments

Comments
 (0)