Repository navigation
[Decision Log] FrontEnd Component & Page 구조 표준화 및 적용 #8
frydaynar
started this conversation in
Decision Log
Replies: 0 comments
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.
0. 배경
1. 프론트엔드 디렉토리 구조
프로젝트는 컴포넌트 기반 아키텍처(Component-Based Architecture)를 따르며, 아래와 같은 구조로 역할을 엄격히 분리하여 관리
2. 구조 설계 원칙
homes(페이지 영역)admin(원청사)과partners(협력사) 등 권한별로 도메인을 분리하여 관리components(재사용 UI)Layout,UI,Common으로 하위 디렉토리를 분리하여 응집도를 높임assets(정적 리소스)masterData.js) 및 이미지 로고 등 정적 리소스를 통합 관리styles(스타일 중앙 관리)styles/폴더에서 중앙 통합 관리3. 개발 및 네이밍 규칙
HeaderNav.jsx,MainDashboard.jsx)components내부의 디렉토리(Layout,UI,Common)는 컴포넌트와의 일관성을 위해 예외적으로alias(@)기반의 Import를 권장합니다components는 오직 UI 렌더링에만 집중해야 하며, 비즈니스 로직은 최소화합니다hooks및utils폴더를 추가하여 분리할 수 있습니다4. 협업 원칙
All reactions