[Refactor/#20] 라우터 구조 리팩토링 및 lazy loading 적용#23
Merged
Seojegyeong merged 5 commits intodevelopfrom Jan 30, 2026
Merged
Conversation
3 tasks
jjjsun
approved these changes
Jan 30, 2026
Collaborator
jjjsun
left a comment
There was a problem hiding this comment.
P4: pages/auth/Sigup.tsx 에서 로그인하기 버튼 링크이동이 잘 안되는데 혹시 테스트용으로 해두신걸까요?
Collaborator
|
P4: 확인했습니다! 수고하셨어요 :) |
YermIm
approved these changes
Jan 30, 2026
jjjsun
approved these changes
Jan 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🚨 관련 이슈
#20
✨ 변경사항
✏️ 작업 내용
1. 라우터 폴더 구조 리팩토링
단일 파일에 집중되어 있던 라우팅 로직을 유지보수를 고려하여 모듈 단위로 분리함
2. Code Splitting 적용
3. 인증 가드
비로그인 유저가 메인 서비스 접근 시 /signup으로 리다이렉트 처리
4. Layout 구조화
폴더 구조
src ├── layout │ ├── auth │ │ └── AuthLayout.tsx │ ├── default │ │ └── DefaultLayout.tsx │ └── main │ └── MainLayout.tsx └── routes ├── AuthRoutes.tsx ├── MainRoutes.tsx ├── UserRoutes.tsx └── Router.tsx리팩토링 효과
Before

After

😅 미완성 작업
📢 논의 사항 및 참고 사항
N/A